GET api/EcoCar/Setting/EcoCar/RunningCar/GetInfo?cardno={cardno}
获取当前运行的车辆的详细信息
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
cardno | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
获取当前运行的车辆的详细信息
CommonOperationResultWithTagOfIEnumerableOfEcoCar_RunningCar_InfoResultName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | Collection of EcoCar_RunningCar_InfoResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": [ { "CurDriverName": "sample string 1", "HasWarning": "sample string 2", "LineId": "sample string 3", "LineName": "sample string 4", "WarnDriverId": "sample string 5", "WarnDriverName": "sample string 6", "HappenTime": "sample string 7", "WarnRulesId": "sample string 8", "WarnType": "sample string 9", "WarnContent": "sample string 10", "WarningSpeed": 11.0, "WarningLongitude": 12.0, "WarningLatitude": 13.0, "WarningRunDirection": 14.0, "CarNo": "sample string 15", "CurClassId": "sample string 16", "CurDriverId": "sample string 17", "CurClassStartTime": "sample string 18", "CurClassWarningCount": 19, "Longitude": 20.0, "Latitude": 21.0, "DriveSpeed": 22.0, "RunDirection": 23.0, "LastUpdTime": "sample string 24", "Reserver1": "sample string 25" }, { "CurDriverName": "sample string 1", "HasWarning": "sample string 2", "LineId": "sample string 3", "LineName": "sample string 4", "WarnDriverId": "sample string 5", "WarnDriverName": "sample string 6", "HappenTime": "sample string 7", "WarnRulesId": "sample string 8", "WarnType": "sample string 9", "WarnContent": "sample string 10", "WarningSpeed": 11.0, "WarningLongitude": 12.0, "WarningLatitude": 13.0, "WarningRunDirection": 14.0, "CarNo": "sample string 15", "CurClassId": "sample string 16", "CurDriverId": "sample string 17", "CurClassStartTime": "sample string 18", "CurClassWarningCount": 19, "Longitude": 20.0, "Latitude": 21.0, "DriveSpeed": 22.0, "RunDirection": 23.0, "LastUpdTime": "sample string 24", "Reserver1": "sample string 25" } ] }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfArrayOfEcoCar_RunningCar_InfoResultguOp_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_RunningCar_InfoResult> <d2p1:CarNo>sample string 15</d2p1:CarNo> <d2p1:CurClassId>sample string 16</d2p1:CurClassId> <d2p1:CurClassStartTime>sample string 18</d2p1:CurClassStartTime> <d2p1:CurClassWarningCount>19</d2p1:CurClassWarningCount> <d2p1:CurDriverId>sample string 17</d2p1:CurDriverId> <d2p1:DriveSpeed>22</d2p1:DriveSpeed> <d2p1:LastUpdTime>sample string 24</d2p1:LastUpdTime> <d2p1:Latitude>21</d2p1:Latitude> <d2p1:Longitude>20</d2p1:Longitude> <d2p1:Reserver1>sample string 25</d2p1:Reserver1> <d2p1:RunDirection>23</d2p1:RunDirection> <d2p1:CurDriverName>sample string 1</d2p1:CurDriverName> <d2p1:HappenTime>sample string 7</d2p1:HappenTime> <d2p1:HasWarning>sample string 2</d2p1:HasWarning> <d2p1:LineId>sample string 3</d2p1:LineId> <d2p1:LineName>sample string 4</d2p1:LineName> <d2p1:WarnContent>sample string 10</d2p1:WarnContent> <d2p1:WarnDriverId>sample string 5</d2p1:WarnDriverId> <d2p1:WarnDriverName>sample string 6</d2p1:WarnDriverName> <d2p1:WarnRulesId>sample string 8</d2p1:WarnRulesId> <d2p1:WarnType>sample string 9</d2p1:WarnType> <d2p1:WarningLatitude>13</d2p1:WarningLatitude> <d2p1:WarningLongitude>12</d2p1:WarningLongitude> <d2p1:WarningRunDirection>14</d2p1:WarningRunDirection> <d2p1:WarningSpeed>11</d2p1:WarningSpeed> </d2p1:EcoCar_RunningCar_InfoResult> <d2p1:EcoCar_RunningCar_InfoResult> <d2p1:CarNo>sample string 15</d2p1:CarNo> <d2p1:CurClassId>sample string 16</d2p1:CurClassId> <d2p1:CurClassStartTime>sample string 18</d2p1:CurClassStartTime> <d2p1:CurClassWarningCount>19</d2p1:CurClassWarningCount> <d2p1:CurDriverId>sample string 17</d2p1:CurDriverId> <d2p1:DriveSpeed>22</d2p1:DriveSpeed> <d2p1:LastUpdTime>sample string 24</d2p1:LastUpdTime> <d2p1:Latitude>21</d2p1:Latitude> <d2p1:Longitude>20</d2p1:Longitude> <d2p1:Reserver1>sample string 25</d2p1:Reserver1> <d2p1:RunDirection>23</d2p1:RunDirection> <d2p1:CurDriverName>sample string 1</d2p1:CurDriverName> <d2p1:HappenTime>sample string 7</d2p1:HappenTime> <d2p1:HasWarning>sample string 2</d2p1:HasWarning> <d2p1:LineId>sample string 3</d2p1:LineId> <d2p1:LineName>sample string 4</d2p1:LineName> <d2p1:WarnContent>sample string 10</d2p1:WarnContent> <d2p1:WarnDriverId>sample string 5</d2p1:WarnDriverId> <d2p1:WarnDriverName>sample string 6</d2p1:WarnDriverName> <d2p1:WarnRulesId>sample string 8</d2p1:WarnRulesId> <d2p1:WarnType>sample string 9</d2p1:WarnType> <d2p1:WarningLatitude>13</d2p1:WarningLatitude> <d2p1:WarningLongitude>12</d2p1:WarningLongitude> <d2p1:WarningRunDirection>14</d2p1:WarningRunDirection> <d2p1:WarningSpeed>11</d2p1:WarningSpeed> </d2p1:EcoCar_RunningCar_InfoResult> </tag> </CommonOperationResultWithTagOfArrayOfEcoCar_RunningCar_InfoResultguOp_Pzk_S>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.