GET api/EcoCar/Setting/Vehical/SimpleData/Get?carno={carno}
获取当前所有正在运行的车辆的状态信息
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
carno | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
获取当前所有正在运行的车辆的状态信息
CommonOperationResultWithTagOfIEnumerableOfEcoCar_CarStatus_CurResultName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | Collection of EcoCar_CarStatus_CurResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": [ { "CarNo": "sample string 1", "CurClassId": "sample string 2", "CurDriverId": "sample string 3", "CurClassStartTime": "sample string 4", "CurClassWarningCount": 5, "Longitude": 6.0, "Latitude": 7.0, "DriveSpeed": 8.0, "RunDirection": 9.0, "LastUpdTime": "sample string 10", "Reserver1": "sample string 11" }, { "CarNo": "sample string 1", "CurClassId": "sample string 2", "CurDriverId": "sample string 3", "CurClassStartTime": "sample string 4", "CurClassWarningCount": 5, "Longitude": 6.0, "Latitude": 7.0, "DriveSpeed": 8.0, "RunDirection": 9.0, "LastUpdTime": "sample string 10", "Reserver1": "sample string 11" } ] }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfArrayOfEcoCar_CarStatus_CurResultguOp_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_CarStatus_CurResult> <d2p1:CarNo>sample string 1</d2p1:CarNo> <d2p1:CurClassId>sample string 2</d2p1:CurClassId> <d2p1:CurClassStartTime>sample string 4</d2p1:CurClassStartTime> <d2p1:CurClassWarningCount>5</d2p1:CurClassWarningCount> <d2p1:CurDriverId>sample string 3</d2p1:CurDriverId> <d2p1:DriveSpeed>8</d2p1:DriveSpeed> <d2p1:LastUpdTime>sample string 10</d2p1:LastUpdTime> <d2p1:Latitude>7</d2p1:Latitude> <d2p1:Longitude>6</d2p1:Longitude> <d2p1:Reserver1>sample string 11</d2p1:Reserver1> <d2p1:RunDirection>9</d2p1:RunDirection> </d2p1:EcoCar_CarStatus_CurResult> <d2p1:EcoCar_CarStatus_CurResult> <d2p1:CarNo>sample string 1</d2p1:CarNo> <d2p1:CurClassId>sample string 2</d2p1:CurClassId> <d2p1:CurClassStartTime>sample string 4</d2p1:CurClassStartTime> <d2p1:CurClassWarningCount>5</d2p1:CurClassWarningCount> <d2p1:CurDriverId>sample string 3</d2p1:CurDriverId> <d2p1:DriveSpeed>8</d2p1:DriveSpeed> <d2p1:LastUpdTime>sample string 10</d2p1:LastUpdTime> <d2p1:Latitude>7</d2p1:Latitude> <d2p1:Longitude>6</d2p1:Longitude> <d2p1:Reserver1>sample string 11</d2p1:Reserver1> <d2p1:RunDirection>9</d2p1:RunDirection> </d2p1:EcoCar_CarStatus_CurResult> </tag> </CommonOperationResultWithTagOfArrayOfEcoCar_CarStatus_CurResultguOp_Pzk_S>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.