POST apioauth/installation/devicedisassociation
Remove a imei of a service and put the service into the disposed group
Request Information
URI Parameters
None.
Body Parameters
DeviceDisassociationModel
OAuthDeviceDisassociationModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UnAllocatedGroupID |
The group id where the unallocated units are saved |
unsigned integer |
None. |
| AllocatedGroupID |
The group id where the allocated units are saved |
unsigned integer |
None. |
| DisposedGroupID |
The group id where disassociated units are saved |
unsigned integer |
None. |
| VehicleList |
A list of vehicles to be disassociated |
Collection of DeviceDisassociationVehicleModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"UnAllocatedGroupID": 1,
"AllocatedGroupID": 2,
"DisposedGroupID": 3,
"VehicleList": [
{
"IMEI": "sample string 1",
"ServiceID": 2
},
{
"IMEI": "sample string 1",
"ServiceID": 2
}
]
}
application/xml, text/xml
Sample:
<OAuthDeviceDisassociationModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<UnAllocatedGroupID>1</UnAllocatedGroupID>
<AllocatedGroupID>2</AllocatedGroupID>
<DisposedGroupID>3</DisposedGroupID>
<VehicleList>
<DeviceDisassociationVehicleModel>
<IMEI>sample string 1</IMEI>
<ServiceID>2</ServiceID>
</DeviceDisassociationVehicleModel>
<DeviceDisassociationVehicleModel>
<IMEI>sample string 1</IMEI>
<ServiceID>2</ServiceID>
</DeviceDisassociationVehicleModel>
</VehicleList>
</OAuthDeviceDisassociationModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DisassociationResponseModel
DisassociationResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| RequestStatus |
Status indicating if a web service call was successful |
boolean |
None. |
| RequestMessage |
Any extra information indicating why a call was not successful |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"RequestStatus": true,
"RequestMessage": "sample string 2"
}
application/xml, text/xml
Sample:
<DisassociationResponseModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <RequestStatus>true</RequestStatus> <RequestMessage>sample string 2</RequestMessage> </DisassociationResponseModel>