GET api/FlowTraffic/Class/Table/Query/ById/{classid}
以班次ID为依据,查询某一个班次的详细信息,以简单类型返回。
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
classid |
班次ID |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
以班次ID为依据,查询某一个班次的详细信息,以简单类型返回。
CommonOperationResultWithTagOfFlowTraffic_ClassItemName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | FlowTraffic_ClassItem |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": { "ClassId": "sample string 1", "LineId": "sample string 2", "LineName": "sample string 3", "LisenceNo": "sample string 4", "ClassType": "sample string 5", "PassengerCapacity": 6, "StartDate": "sample string 7", "StartTime": "sample string 8", "StartChkTime": "sample string 9", "EndChkTime": "sample string 10", "CheckedPassengerCount": 11, "CheckStationId": "sample string 12", "StartUserName": "sample string 13", "EndChkUserName": "sample string 14", "Reserve1": "sample string 15", "Reserve2": "sample string 16", "Memory": "sample string 17", "ClassStatus": "sample string 18" } }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfFlowTraffic_ClassItemnjeuSYsM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer"> <errcode>1</errcode> <errmsg>sample string 2</errmsg> <tag xmlns:d2p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Common.FlowTraffic"> <d2p1:CheckStationId>sample string 12</d2p1:CheckStationId> <d2p1:CheckedPassengerCount>11</d2p1:CheckedPassengerCount> <d2p1:ClassId>sample string 1</d2p1:ClassId> <d2p1:ClassStatus>sample string 18</d2p1:ClassStatus> <d2p1:ClassType>sample string 5</d2p1:ClassType> <d2p1:EndChkTime>sample string 10</d2p1:EndChkTime> <d2p1:EndChkUserName>sample string 14</d2p1:EndChkUserName> <d2p1:LineId>sample string 2</d2p1:LineId> <d2p1:LineName>sample string 3</d2p1:LineName> <d2p1:LisenceNo>sample string 4</d2p1:LisenceNo> <d2p1:Memory>sample string 17</d2p1:Memory> <d2p1:PassengerCapacity>6</d2p1:PassengerCapacity> <d2p1:Reserve1>sample string 15</d2p1:Reserve1> <d2p1:Reserve2>sample string 16</d2p1:Reserve2> <d2p1:StartChkTime>sample string 9</d2p1:StartChkTime> <d2p1:StartDate>sample string 7</d2p1:StartDate> <d2p1:StartTime>sample string 8</d2p1:StartTime> <d2p1:StartUserName>sample string 13</d2p1:StartUserName> </tag> </CommonOperationResultWithTagOfFlowTraffic_ClassItemnjeuSYsM>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.