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 .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 /json/reply/GetCarInfoCarRequest HTTP/1.1 
Host: s1-api-tst.fource.nl 
Content-Type: application/json
Content-Length: length

{"id":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
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":"\/Date(-62135596800000-0000)\/","dateAscription":"\/Date(-62135596800000-0000)\/","dateFirstAdmission":"\/Date(-62135596800000-0000)\/","dateFirstAdmissionNL":"\/Date(-62135596800000-0000)\/","vin":"String","bmfIdCode":"String"},"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String"}]}}