POST api/customer/vehicle/registerdevice
Request Information
URI Parameters
None.
Body Parameters
VehicleDeviceRegistration| Name | Description | Type | Additional information |
|---|---|---|---|
| IMEI | string |
None. |
|
| OldPlate | string |
None. |
|
| Plate | string |
None. |
|
| Division | integer |
None. |
|
| ModelType | string |
None. |
|
| ModelYear | integer |
None. |
|
| InstallationDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"IMEI": "sample string 1",
"OldPlate": "sample string 2",
"Plate": "sample string 3",
"Division": 4,
"ModelType": "sample string 5",
"ModelYear": 1,
"InstallationDate": "2026-03-31T11:08:37.840708+00:00"
}
application/xml, text/xml
Sample:
<VehicleService.VehicleDeviceRegistration xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Saga.Kjorebok.Backend.Services"> <Division>4</Division> <IMEI>sample string 1</IMEI> <InstallationDate>2026-03-31T11:08:37.840708+00:00</InstallationDate> <ModelType>sample string 5</ModelType> <ModelYear>1</ModelYear> <OldPlate>sample string 2</OldPlate> <Plate>sample string 3</Plate> </VehicleService.VehicleDeviceRegistration>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Vehicle| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ID | integer |
None. |
|
| RegNumber | string |
None. |
|
| Plate | string |
None. |
|
| DivisionId | integer |
None. |
|
| DivisionName | string |
None. |
|
| DefaultTripTypePrivate | boolean |
None. |
|
| ModelType | string |
None. |
|
| ModelYear | integer |
None. |
|
| Stat | VehicleStat |
None. |
|
| UserAssignments | Collection of VehicleUserAssignment |
None. |
|
| LastStatus | VehicleLastStatusBasicModel |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.