s1 API Host

<back to all web services

GetCarInfoCarRequest

The following routes are available for this service:
GET,OPTIONS/api/cars/info/car/{id}Get the car info for the given car type idUser has to be authenticated.
Parameters:
NameParameterData TypeRequiredDescription
idpathstringYesThe car id

To override the Content-type in your clients HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /jsv/reply/GetCarInfoCarRequest HTTP/1.1 
Host: s1-api.fource.nl 
Content-Type: text/jsv
Content-Length: length

{
	id: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	carInfo: 
	{
		carId: String0,
		manufacturer: String,
		manufacturerId: String,
		typeId: 0,
		modelId: 0,
		carModel: String,
		description: String,
		carType: String,
		yearOfProductionFrom: 0,
		monthOfProductionFrom: 0,
		yearOfProductionTo: 0,
		monthOfProductionTo: 0,
		engine: String,
		power: 0 Kilowatt (0 PK),
		kilowatt: 0,
		horsepower: 0,
		engineCapacityInCC: String,
		verifiedMotorCode: String,
		hsnTsn: String,
		imageUrl: String,
		manufacturerImageUrl: String,
		apkDate: 0001-01-01,
		dateAscription: 0001-01-01,
		dateFirstAdmission: 0001-01-01,
		dateFirstAdmissionNL: 0001-01-01,
		vin: String,
		bmfIdCode: String
	},
	responseStatus: 
	{
		errorCode: String,
		message: String,
		stackTrace: String,
		errors: 
		[
			{
				errorCode: String,
				fieldName: String,
				message: String
			}
		]
	}
}