POST Api/Vehicle/GetSensorSummary
Request Information
URI Parameters
None.
Body Parameters
VehicleParameterName | Description | Type | Additional information |
---|---|---|---|
ClientID | globally unique identifier |
None. |
|
PartnerID | globally unique identifier |
None. |
|
VehicleID | globally unique identifier |
None. |
|
IMEINo | string |
None. |
|
GroupID | globally unique identifier |
None. |
|
OrderID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "ClientID": "a04646b5-7b77-4c6e-a11c-c23b0db9d284", "PartnerID": "ba274948-4300-475f-bc87-590a61b1b281", "VehicleID": "7e3a0dca-cea0-4987-af54-f540af9c213f", "IMEINo": "sample string 4", "GroupID": "87e771f4-6254-4067-9c81-b6734cf465ca", "OrderID": "362ab9a3-8a47-403d-bcc1-c6e81be90c54" }
application/xml, text/xml
Sample:
<VehicleParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity"> <ClientID>a04646b5-7b77-4c6e-a11c-c23b0db9d284</ClientID> <GroupID>87e771f4-6254-4067-9c81-b6734cf465ca</GroupID> <IMEINo>sample string 4</IMEINo> <OrderID>362ab9a3-8a47-403d-bcc1-c6e81be90c54</OrderID> <PartnerID>ba274948-4300-475f-bc87-590a61b1b281</PartnerID> <VehicleID>7e3a0dca-cea0-4987-af54-f540af9c213f</VehicleID> </VehicleParameter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SensorsViewModelName | Description | Type | Additional information |
---|---|---|---|
TemperatureSensor | Collection of TemperatureSensor |
None. |
Response Formats
application/json, text/json
Sample:
{ "TemperatureSensor": [ { "Name": "sample string 1", "Value": 2.1 }, { "Name": "sample string 1", "Value": 2.1 } ] }
application/xml, text/xml
Sample:
<SensorsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FleetrootDriver.Service.Models"> <TemperatureSensor> <TemperatureSensor> <Name>sample string 1</Name> <Value>2.1</Value> </TemperatureSensor> <TemperatureSensor> <Name>sample string 1</Name> <Value>2.1</Value> </TemperatureSensor> </TemperatureSensor> </SensorsViewModel>