s1 API Host

<back to all web services

AppProductSearchRequest

The following routes are available for this service:
GET,OPTIONS/api/products/app/{catalogue}Request to search products from Toolbase and Universal PartsNotes
Parameters:
NameParameterData TypeRequiredDescription
cataloguepathstringYesToolbase or UniversalParts
SearchtermquerystringYesSearchterm
ExactqueryboolNoShow only exact match
LocalequerystringNoLanguage-Country

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

HTTP + XML

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

POST /xml/reply/AppProductSearchRequest HTTP/1.1 
Host: api2.ghs-automotive.nl 
Content-Type: application/xml
Content-Length: length

<AppProductSearchRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/S1.Api.Domain.Models.Products">
  <Catalogue>String</Catalogue>
  <Exact>false</Exact>
  <Locale>String</Locale>
  <Searchterm>String</Searchterm>
</AppProductSearchRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<AppProductSearchResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/S1.Api.Domain.Models.Products">
  <Products i:nil="true" />
</AppProductSearchResponse>