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/BoschProductAvailabilityRequest HTTP/1.1
Host: s1-api-tst.fource.nl
Content-Type: application/json
Content-Length: length
{"buyer":{"buyerNo":"String","buyerLocationId":"String","buyerResponsiblePerson":{"address":"String","email":"String","name":"String","phone":"String"}},"erpSystemInfo":{"erpSystemCode":"String","erpSystemUrl":"String","erpCertificateNr":"String","erpActions":[{"erpActionType":"Availability","erpActionName":"String"}],"password":"String","userName":"String","customerNumber":"String"},"lines":[{"article":{"vendorArticleNumber":"String","eanCodes":["String"],"make":{"catalogOwnId":"String","name":"String","tecDocBrandNo":0},"manuArticleNumber":"String","tecDocArticleNo":"String","tecDocGenericArticleId":"String"},"lineId":0,"quantity":{"count":0,"uoM":"String","quantityPerUoM":0},"vehicle":{"audatexId":"String","osVehiclekety":"String","catalogVehicleId":"String","tecRmiId":"String","datEuropacode":"String","eurotaxNatCode":"String","licenseNo":"String","tecDocId":"String","vin":"String"}}],"vehicle":{"audatexId":"String","osVehiclekety":"String","catalogVehicleId":"String","tecRmiId":"String","datEuropacode":"String","eurotaxNatCode":"String","licenseNo":"String","tecDocId":"String","vin":"String"},"dmsSessionId":"String","timeStamp":"\/Date(-62135596800000-0000)\/","authorizationToken":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"availabilityResponseLines":[{"alternativeArticle":{"vendorArticleNumber":"String","eanCodes":["String"],"make":{"catalogOwnId":"String","name":"String","tecDocBrandNo":0},"manuArticleNumber":"String","tecDocArticleNo":"String","tecDocGenericArticleId":"String"},"article":{"vendorArticleNumber":"String","eanCodes":["String"],"make":{"catalogOwnId":"String","name":"String","tecDocBrandNo":0},"manuArticleNumber":"String","tecDocArticleNo":"String","tecDocGenericArticleId":"String"},"articleAvailability":[{"additionalDescriptions":[{"text":"String","languageCodeIso":"String"}],"deliveryMethod":{"deliveryMethodText":"String","deliveryDateTime":"\/Date(-62135596800000-0000)\/","descriptions":[{"text":"String","languageCodeIso":"String"}],"shippingCost":{"currencyCodeIso":"String","value":0}},"confirmedQuantity":{"count":0,"uoM":"String","quantityPerUoM":0}}],"lineId":0,"requestedQuantity":{"count":0,"uoM":"String","quantityPerUoM":0},"status":0}],"erpSystemInfo":{"erpSystemCode":"String","erpSystemUrl":"String","erpCertificateNr":"String","erpActions":[{"erpActionType":"Availability","erpActionName":"String"}],"password":"String","userName":"String","customerNumber":"String"},"responseCode":0,"responseDescriptions":[{"text":"String","languageCodeIso":"String"}],"timeStamp":"\/Date(-62135596800000-0000)\/"}