GalaxyMobile Client API

<back to all web services

UpdateVehicleLicense

The following routes are available for this service:
POST/galaxy/vehicle/updateUpdate a user's vehicle license.
UpdateVehicleLicense Parameters:
NameParameterData TypeRequiredDescription
IdNumberbodystringYesID Number of the user making this request.
VehiclebodyVehicleDataYesThe scanned vehicle license disk information.
ApiServiceRequest Parameters:
NameParameterData TypeRequiredDescription
ApiKeyformstringYesThe API Key required for authentication
VehicleData Parameters:
NameParameterData TypeRequiredDescription
IdformintNoThe ID of the vehicle.
HasLicenseformboolNoWhether the vehicle has license disk information.
LicenseNumberformstringNoThe vehicle license number.
RegistrationNumberformstringNoThe vehicle registration number.
VinformstringNoThe vehicle VIN number.
MakeformstringNoThe vehicle make.
SeriesformstringNoThe vehicle series.
ColourformstringNoThe vehicle colour.
ExpiryformstringNoThe vehicle license expiry date in ISO 8601 format.
ExpiresSoonformboolNoTrue if this vehicle's licence expiring soon.
ExpiredformboolNoTrue if this vehicle's license expired.
UpdateVehicleLicenseResponse Parameters:
NameParameterData TypeRequiredDescription
VehicleformVehicleDataYesThe newly update vehicle information.
ApiServiceResponse Parameters:
NameParameterData TypeRequiredDescription
DescriptionformstringNo
HeadingformstringNo
WasSuccessfulformboolNo
ModelStateformObjectNo

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

HTTP + JSON

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: application/json
Content-Type: application/json
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: application/json
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":{}}