s1 API Host

<back to all web services

GetTendersRequest

The following routes are available for this service:
GET, OPTIONS/api/tendersGet all tenders from the users linked MijnGrossier accounts
Parameters:
NameParameterData TypeRequiredDescription
SearchQueryquerystringNo
SearchTypequerySearchTypeNoCarId, Vin or Licenseplate
DaysBackqueryintNoThe number of days back to search in tender history
SearchArchivedqueryboolNoExclusive option, true means only archived tenders are returned

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/GetTendersRequest HTTP/1.1 
Host: api2.ghs-automotive.nl 
Content-Type: text/csv
Content-Length: length

SearchQuery,SearchType,DaysBack,SearchArchived
String,CarId,0,False

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

ResponseStatus,UrgentMessages,TenderCollection
"{errorCode:String,message:String,stackTrace:String,errors:[{errorCode:String,fieldName:String,message:String}]}",,{totalResults:0}