POST Api/v1/Devices
Creates a new onboard device.
Request Information
URI Parameters
None.
Body Parameters
OnboardDeviceCommand| Name | Description | Type | Additional information |
|---|---|---|---|
| Esn | string |
Required String length: inclusive between 0 and 255 |
|
| VehicleNumber | string |
String length: inclusive between 0 and 255 |
Request Formats
application/json, text/json
Sample:
{
"esn": "sample string 1",
"vehicleNumber": "sample string 2"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.