POST api/HGInspections/UpdateDeviceToken
Request Information
URI Parameters
None.
Body Parameters
HGDeviceInput| Name | Description | Type | Additional information |
|---|---|---|---|
| EmpID |
It represents the unique identifier of a inspector. |
integer |
None. |
| RptType |
It represents the report type (P-Home, R-Roof, T-Termite) |
string |
None. |
| Platform |
It represents the operation system of device (ios / android) |
string |
None. |
| Token |
It represents the device token of home inspection application |
string |
None. |
Request Formats
application/json
Sample:
{
"EmpID": 1,
"Token": "sample string 4",
"Platform": "sample string 3",
"RptType": "sample string 2"
}
application/xml, text/xml
Sample:
<HGDeviceInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HomeguardApp.BusinessObjects.Inspection"> <EmpID>1</EmpID> <Platform>sample string 3</Platform> <RptType>sample string 2</RptType> <Token>sample string 4</Token> </HGDeviceInput>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
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. |