s1 API Host

<back to all web services

SearchForCategoriesRequest

The following routes are available for this service:
GET, OPTIONS/api/cars/{id}/categoriesSearch for categories that contain products for the given carUser has to be authenticated to search for products.
Parameters:
NameParameterData TypeRequiredDescription
idpathstringYesThe car id.
searchTermquerystringYesThe search term
LicensePlatequerystringNoThe license plate.

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

HTTP + CSV

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

POST /csv/reply/SearchForCategoriesRequest HTTP/1.1 
Host: api-beta.ghs-automotive.nl 
Content-Type: text/csv
Content-Length: length

Id,SearchTerm,LicensePlate
String,String,String

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

Categories,ResponseStatus,UrgentMessages
,"{errorCode:String,message:String,stackTrace:String,errors:[{errorCode:String,fieldName:String,message:String}]}",