PATCH geotab/device
Update a geotab device
Request Information
URI Parameters
None.
Body Parameters
A UpdateGeotabDeviceRequest
UpdateGeotabDeviceRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| serialNumber |
The serial number to update |
string |
None. |
| recovering |
What to set the recovering flag to |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"serialNumber": "sample string 1",
"recovering": true
}
application/xml, text/xml
Sample:
<UpdateGeotabDeviceRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SerialNumber>sample string 1</SerialNumber> <Recovering>true</Recovering> </UpdateGeotabDeviceRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
200 on success
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |