| GET | /galaxy/vehicle/list | Retrieve a list of a user's vehicles. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| IdNumber | query | string | Yes | ID Number of the user making this request. |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ApiKey | form | string | Yes | The API Key required for authentication |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Vehicles | form | IEnumerable<VehicleData> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Description | form | string | No | |
| Heading | form | string | No | |
| WasSuccessful | form | bool | No | |
| ModelState | form | Object | No |
| 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. |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /galaxy/vehicle/list HTTP/1.1 Host: galaxymobile.api.client.prod.86degrees.com Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"Description":"String","Heading":"String","WasSuccessful":false,"ModelState":{}}