GET api/EcoCar/Busi/LineGpsPoint/Query/ByLineId?lineid={lineid}
读取某一个线路必经的GPS描点,通用由手持机拉取这个数据并缓存,在执行班次的过程中据此判定车辆是否偏离设定路线.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
lineid |
线路的ID。 |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
读取某一个线路必经的GPS描点,通用由手持机拉取这个数据并缓存,在执行班次的过程中据此判定车辆是否偏离设定路线.
CommonOperationResultWithTagOfIEnumerableOfEcoCar_LinePointItemResultName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | Collection of EcoCar_LinePointItemResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": [ { "LineId": "sample string 1", "PointIndex": 2, "PointLongitude": 3.0, "PointLatitude": 4.0, "Memory": "sample string 5" }, { "LineId": "sample string 1", "PointIndex": 2, "PointLongitude": 3.0, "PointLatitude": 4.0, "Memory": "sample string 5" } ] }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfArrayOfEcoCar_LinePointItemResultguOp_Pzk_S 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.Result.EcoCar"> <d2p1:EcoCar_LinePointItemResult> <d2p1:LineId>sample string 1</d2p1:LineId> <d2p1:Memory>sample string 5</d2p1:Memory> <d2p1:PointIndex>2</d2p1:PointIndex> <d2p1:PointLatitude>4</d2p1:PointLatitude> <d2p1:PointLongitude>3</d2p1:PointLongitude> </d2p1:EcoCar_LinePointItemResult> <d2p1:EcoCar_LinePointItemResult> <d2p1:LineId>sample string 1</d2p1:LineId> <d2p1:Memory>sample string 5</d2p1:Memory> <d2p1:PointIndex>2</d2p1:PointIndex> <d2p1:PointLatitude>4</d2p1:PointLatitude> <d2p1:PointLongitude>3</d2p1:PointLongitude> </d2p1:EcoCar_LinePointItemResult> </tag> </CommonOperationResultWithTagOfArrayOfEcoCar_LinePointItemResultguOp_Pzk_S>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.