GET api/EcoCar/Setting/EcoCar/RunCarAndLineInfo/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_RunCarAndLineInfo_ResultName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | Collection of EcoCar_RunCarAndLineInfo_Result |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": [ { "CurDriverName": "sample string 1", "LineId": "sample string 2", "LineName": "sample string 3", "LineStartSiteId": "sample string 4", "LineStartSiteName": "sample string 5", "LineEndSiteId": "sample string 6", "LineEndSiteName": "sample string 7", "CarNo": "sample string 8", "CurClassId": "sample string 9", "CurDriverId": "sample string 10", "CurClassStartTime": "sample string 11", "CurClassWarningCount": 12, "Longitude": 13.0, "Latitude": 14.0, "DriveSpeed": 15.0, "RunDirection": 16.0, "LastUpdTime": "sample string 17", "Reserver1": "sample string 18" }, { "CurDriverName": "sample string 1", "LineId": "sample string 2", "LineName": "sample string 3", "LineStartSiteId": "sample string 4", "LineStartSiteName": "sample string 5", "LineEndSiteId": "sample string 6", "LineEndSiteName": "sample string 7", "CarNo": "sample string 8", "CurClassId": "sample string 9", "CurDriverId": "sample string 10", "CurClassStartTime": "sample string 11", "CurClassWarningCount": 12, "Longitude": 13.0, "Latitude": 14.0, "DriveSpeed": 15.0, "RunDirection": 16.0, "LastUpdTime": "sample string 17", "Reserver1": "sample string 18" } ] }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfArrayOfEcoCar_RunCarAndLineInfo_ResultguOp_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_RunCarAndLineInfo_Result> <d2p1:CarNo>sample string 8</d2p1:CarNo> <d2p1:CurClassId>sample string 9</d2p1:CurClassId> <d2p1:CurClassStartTime>sample string 11</d2p1:CurClassStartTime> <d2p1:CurClassWarningCount>12</d2p1:CurClassWarningCount> <d2p1:CurDriverId>sample string 10</d2p1:CurDriverId> <d2p1:DriveSpeed>15</d2p1:DriveSpeed> <d2p1:LastUpdTime>sample string 17</d2p1:LastUpdTime> <d2p1:Latitude>14</d2p1:Latitude> <d2p1:Longitude>13</d2p1:Longitude> <d2p1:Reserver1>sample string 18</d2p1:Reserver1> <d2p1:RunDirection>16</d2p1:RunDirection> <d2p1:CurDriverName>sample string 1</d2p1:CurDriverName> <d2p1:LineEndSiteId>sample string 6</d2p1:LineEndSiteId> <d2p1:LineEndSiteName>sample string 7</d2p1:LineEndSiteName> <d2p1:LineId>sample string 2</d2p1:LineId> <d2p1:LineName>sample string 3</d2p1:LineName> <d2p1:LineStartSiteId>sample string 4</d2p1:LineStartSiteId> <d2p1:LineStartSiteName>sample string 5</d2p1:LineStartSiteName> </d2p1:EcoCar_RunCarAndLineInfo_Result> <d2p1:EcoCar_RunCarAndLineInfo_Result> <d2p1:CarNo>sample string 8</d2p1:CarNo> <d2p1:CurClassId>sample string 9</d2p1:CurClassId> <d2p1:CurClassStartTime>sample string 11</d2p1:CurClassStartTime> <d2p1:CurClassWarningCount>12</d2p1:CurClassWarningCount> <d2p1:CurDriverId>sample string 10</d2p1:CurDriverId> <d2p1:DriveSpeed>15</d2p1:DriveSpeed> <d2p1:LastUpdTime>sample string 17</d2p1:LastUpdTime> <d2p1:Latitude>14</d2p1:Latitude> <d2p1:Longitude>13</d2p1:Longitude> <d2p1:Reserver1>sample string 18</d2p1:Reserver1> <d2p1:RunDirection>16</d2p1:RunDirection> <d2p1:CurDriverName>sample string 1</d2p1:CurDriverName> <d2p1:LineEndSiteId>sample string 6</d2p1:LineEndSiteId> <d2p1:LineEndSiteName>sample string 7</d2p1:LineEndSiteName> <d2p1:LineId>sample string 2</d2p1:LineId> <d2p1:LineName>sample string 3</d2p1:LineName> <d2p1:LineStartSiteId>sample string 4</d2p1:LineStartSiteId> <d2p1:LineStartSiteName>sample string 5</d2p1:LineStartSiteName> </d2p1:EcoCar_RunCarAndLineInfo_Result> </tag> </CommonOperationResultWithTagOfArrayOfEcoCar_RunCarAndLineInfo_ResultguOp_Pzk_S>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.