GET apioauth/devices/{imei}/installation
Check if a device can have a service call or installation.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
imei |
The imei queried |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
A CreateInstallationResponse
CreateInstallationResponseName | Description | Type | Additional information |
---|---|---|---|
InstallationId |
The id of the installation |
integer |
None. |
ServiceId |
The service id of the vehicle having the installation |
integer |
None. |
VehicleRegistration |
The vehicle registration |
string |
None. |
CameraDetails |
Any camera details |
CameraDetails |
None. |
InstallationType |
The installation type |
InstallationType |
None. |
DeviceType |
The type of the device |
integer |
None. |
IMEI |
The imei queried |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "InstallationId": 1, "ServiceId": 2, "VehicleRegistration": "sample string 3", "CameraDetails": { "HostAddress": "sample string 1", "HostPort": 2, "Username": "sample string 3", "Password": "sample string 4", "ExternalDeviceId": "sample string 5", "NumberOfCameras": 6 }, "InstallationType": 0, "DeviceType": 4, "IMEI": "sample string 5" }
application/xml, text/xml
Sample:
<CreateInstallationResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <InstallationId>1</InstallationId> <ServiceId>2</ServiceId> <VehicleRegistration>sample string 3</VehicleRegistration> <CameraDetails> <HostAddress>sample string 1</HostAddress> <HostPort>2</HostPort> <Username>sample string 3</Username> <Password>sample string 4</Password> <ExternalDeviceId>sample string 5</ExternalDeviceId> <NumberOfCameras>6</NumberOfCameras> </CameraDetails> <InstallationType>Installation</InstallationType> <DeviceType>4</DeviceType> <IMEI>sample string 5</IMEI> </CreateInstallationResponse>