GET api/FlowTraffic/Line/Table/Query/SimpleRet?lineid={lineid}&usestatus={usestatus}
查询满足条件的即时流水车船运输业务线路信息,并以简单对象返回。
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
lineid |
线路的ID,最大4个字符,为空表示不限。 |
string |
Default value is |
usestatus |
线路的启用状态,“1”表示启用,“0”表示禁用,空表示不限。 |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
查询满足条件的即时流水车船运输业务线路信息,并以简单对象返回。
CommonOperationResultWithTagOfIEnumerableOfFlowTraffic_LineItemName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | Collection of FlowTraffic_LineItem |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": [ { "LineId": "sample string 1", "LineName": "sample string 2", "UseState": "sample string 3", "CheckStationId": "sample string 4", "Memory": "sample string 5" }, { "LineId": "sample string 1", "LineName": "sample string 2", "UseState": "sample string 3", "CheckStationId": "sample string 4", "Memory": "sample string 5" } ] }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfArrayOfFlowTraffic_LineItemnjeuSYsM 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:FlowTraffic_LineItem> <d2p1:CheckStationId>sample string 4</d2p1:CheckStationId> <d2p1:LineId>sample string 1</d2p1:LineId> <d2p1:LineName>sample string 2</d2p1:LineName> <d2p1:Memory>sample string 5</d2p1:Memory> <d2p1:UseState>sample string 3</d2p1:UseState> </d2p1:FlowTraffic_LineItem> <d2p1:FlowTraffic_LineItem> <d2p1:CheckStationId>sample string 4</d2p1:CheckStationId> <d2p1:LineId>sample string 1</d2p1:LineId> <d2p1:LineName>sample string 2</d2p1:LineName> <d2p1:Memory>sample string 5</d2p1:Memory> <d2p1:UseState>sample string 3</d2p1:UseState> </d2p1:FlowTraffic_LineItem> </tag> </CommonOperationResultWithTagOfArrayOfFlowTraffic_LineItemnjeuSYsM>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.