| POST | /galaxy/vehicle/update | Update a user's vehicle license. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| IdNumber | body | string | Yes | ID Number of the user making this request. |
| Vehicle | body | VehicleData | Yes | The scanned vehicle license disk information. |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ApiKey | form | string | Yes | The API Key required for authentication |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | The ID of the vehicle. |
| HasLicense | form | bool | No | Whether the vehicle has license disk information. |
| LicenseNumber | form | string | No | The vehicle license number. |
| RegistrationNumber | form | string | No | The vehicle registration number. |
| Vin | form | string | No | The vehicle VIN number. |
| Make | form | string | No | The vehicle make. |
| Series | form | string | No | The vehicle series. |
| Colour | form | string | No | The vehicle colour. |
| Expiry | form | string | No | The vehicle license expiry date in ISO 8601 format. |
| ExpiresSoon | form | bool | No | True if this vehicle's licence expiring soon. |
| Expired | form | bool | No | True if this vehicle's license expired. |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Vehicle | form | VehicleData | Yes | The newly update vehicle information. |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Description | form | string | No | |
| Heading | form | string | No | |
| WasSuccessful | form | bool | No | |
| ModelState | form | Object | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /galaxy/vehicle/update HTTP/1.1
Host: galaxymobile.api.client.prod.86degrees.com
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"IdNumber":"String","Vehicle":{"Id":0,"HasLicense":false,"LicenseNumber":"String","RegistrationNumber":"String","Vin":"String","Make":"String","Series":"String","Colour":"String","Expiry":"String","ExpiresSoon":false,"Expired":false},"ApiKey":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"Vehicle":{"Id":0,"HasLicense":false,"LicenseNumber":"String","RegistrationNumber":"String","Vin":"String","Make":"String","Series":"String","Colour":"String","Expiry":"String","ExpiresSoon":false,"Expired":false},"Description":"String","Heading":"String","WasSuccessful":false,"ModelState":{}}