GET api/EcoCar/Setting/Line/CurRunCarLineInfo/Get
获取当前正在运行的车辆所属的路线信息及其描点数据
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
获取当前正在运行的车辆所属的路线信息及其描点数据
CommonOperationResultWithTagOfIEnumerableOfEcoCar_LineAndPointResultName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | Collection of EcoCar_LineAndPointResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": [ { "pointlist": [ { "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" } ], "sitelist": [ { "LineId": "sample string 1", "SiteId": "sample string 2", "SiteIndex": 3, "SiteName": "sample string 4", "Longitude": 5.0, "Latitude": 6.0 }, { "LineId": "sample string 1", "SiteId": "sample string 2", "SiteIndex": 3, "SiteName": "sample string 4", "Longitude": 5.0, "Latitude": 6.0 } ], "lineid": "sample string 1", "linename": "sample string 2", "normaltime": 3.0, "ticketchecktype": "sample string 4", "memory": "sample string 5" }, { "pointlist": [ { "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" } ], "sitelist": [ { "LineId": "sample string 1", "SiteId": "sample string 2", "SiteIndex": 3, "SiteName": "sample string 4", "Longitude": 5.0, "Latitude": 6.0 }, { "LineId": "sample string 1", "SiteId": "sample string 2", "SiteIndex": 3, "SiteName": "sample string 4", "Longitude": 5.0, "Latitude": 6.0 } ], "lineid": "sample string 1", "linename": "sample string 2", "normaltime": 3.0, "ticketchecktype": "sample string 4", "memory": "sample string 5" } ] }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfArrayOfEcoCar_LineAndPointResultguOp_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_LineAndPointResult> <lineid xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.EcoCar">sample string 1</lineid> <linename xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.EcoCar">sample string 2</linename> <memory xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.EcoCar">sample string 5</memory> <normaltime xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.EcoCar">3</normaltime> <ticketchecktype xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.EcoCar">sample string 4</ticketchecktype> <d2p1:pointlist> <d2p1:EcoCar_Line_GPSPointResult> <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_Line_GPSPointResult> <d2p1:EcoCar_Line_GPSPointResult> <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_Line_GPSPointResult> </d2p1:pointlist> <d2p1:sitelist> <d2p1:EcoCar_Line_Sites_EGuiderResult> <d2p1:Latitude>6</d2p1:Latitude> <d2p1:LineId>sample string 1</d2p1:LineId> <d2p1:Longitude>5</d2p1:Longitude> <d2p1:SiteId>sample string 2</d2p1:SiteId> <d2p1:SiteIndex>3</d2p1:SiteIndex> <d2p1:SiteName>sample string 4</d2p1:SiteName> </d2p1:EcoCar_Line_Sites_EGuiderResult> <d2p1:EcoCar_Line_Sites_EGuiderResult> <d2p1:Latitude>6</d2p1:Latitude> <d2p1:LineId>sample string 1</d2p1:LineId> <d2p1:Longitude>5</d2p1:Longitude> <d2p1:SiteId>sample string 2</d2p1:SiteId> <d2p1:SiteIndex>3</d2p1:SiteIndex> <d2p1:SiteName>sample string 4</d2p1:SiteName> </d2p1:EcoCar_Line_Sites_EGuiderResult> </d2p1:sitelist> </d2p1:EcoCar_LineAndPointResult> <d2p1:EcoCar_LineAndPointResult> <lineid xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.EcoCar">sample string 1</lineid> <linename xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.EcoCar">sample string 2</linename> <memory xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.EcoCar">sample string 5</memory> <normaltime xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.EcoCar">3</normaltime> <ticketchecktype xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.EcoCar">sample string 4</ticketchecktype> <d2p1:pointlist> <d2p1:EcoCar_Line_GPSPointResult> <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_Line_GPSPointResult> <d2p1:EcoCar_Line_GPSPointResult> <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_Line_GPSPointResult> </d2p1:pointlist> <d2p1:sitelist> <d2p1:EcoCar_Line_Sites_EGuiderResult> <d2p1:Latitude>6</d2p1:Latitude> <d2p1:LineId>sample string 1</d2p1:LineId> <d2p1:Longitude>5</d2p1:Longitude> <d2p1:SiteId>sample string 2</d2p1:SiteId> <d2p1:SiteIndex>3</d2p1:SiteIndex> <d2p1:SiteName>sample string 4</d2p1:SiteName> </d2p1:EcoCar_Line_Sites_EGuiderResult> <d2p1:EcoCar_Line_Sites_EGuiderResult> <d2p1:Latitude>6</d2p1:Latitude> <d2p1:LineId>sample string 1</d2p1:LineId> <d2p1:Longitude>5</d2p1:Longitude> <d2p1:SiteId>sample string 2</d2p1:SiteId> <d2p1:SiteIndex>3</d2p1:SiteIndex> <d2p1:SiteName>sample string 4</d2p1:SiteName> </d2p1:EcoCar_Line_Sites_EGuiderResult> </d2p1:sitelist> </d2p1:EcoCar_LineAndPointResult> </tag> </CommonOperationResultWithTagOfArrayOfEcoCar_LineAndPointResultguOp_Pzk_S>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.