POST api/devicecommand/unlock
Request Information
URI Parameters
None.
Body Parameters
Device_Command_Unlock| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | string |
None. |
|
| DeviceId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": "sample string 1",
"DeviceId": "sample string 2"
}
application/xml, text/xml
Sample:
<Device_Command_Unlock xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GPSTracking.Model.Models"> <DeviceId>sample string 2</DeviceId> <UserId>sample string 1</UserId> </Device_Command_Unlock>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Device_CommandResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| StatusText | string |
None. |
|
| Msg | string |
None. |
|
| DL | Collection of Device_CommandView |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"StatusText": "sample string 2",
"Msg": "sample string 3",
"DL": [
{
"DeviceId": "sample string 1",
"DeviceName": "sample string 2",
"CommandName": "sample string 3",
"CommandValue": "sample string 4"
},
{
"DeviceId": "sample string 1",
"DeviceName": "sample string 2",
"CommandName": "sample string 3",
"CommandValue": "sample string 4"
}
]
}
application/xml, text/xml
Sample:
<Device_CommandResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GPSTracking.Model.Models">
<DL>
<Device_CommandView>
<CommandName>sample string 3</CommandName>
<CommandValue>sample string 4</CommandValue>
<DeviceId>sample string 1</DeviceId>
<DeviceName>sample string 2</DeviceName>
</Device_CommandView>
<Device_CommandView>
<CommandName>sample string 3</CommandName>
<CommandValue>sample string 4</CommandValue>
<DeviceId>sample string 1</DeviceId>
<DeviceName>sample string 2</DeviceName>
</Device_CommandView>
</DL>
<Msg>sample string 3</Msg>
<Status>true</Status>
<StatusText>sample string 2</StatusText>
</Device_CommandResponse>