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/BoschPlaceOrderRequest HTTP/1.1
Host: s1-api-tst.fource.nl
Content-Type: application/json
Content-Length: length
{"additionalText":"String","buyer":{"buyerNo":"String","buyerLocationId":"String","buyerResponsiblePerson":{"address":"String","email":"String","name":"String","phone":"String"}},"buyerOrderNumber":"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"}}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"buyerOrderNumber":"String","orderConfirmationUrl":"String","lines":[{"article":{"vendorArticleNumber":"String","eanCodes":["String"],"make":{"catalogOwnId":"String","name":"String","tecDocBrandNo":0},"manuArticleNumber":"String","tecDocArticleNo":"String","tecDocGenericArticleId":"String"},"articlePrice":{"additionalCosts":{"currencyCodeIso":"String","value":0},"additionalDescriptions":[{"text":"String","languageCodeIso":"String"}],"grossPricePerPriceUnit":{"currencyCodeIso":"String","value":0},"netPricePerPriceUnit":{"currencyCodeIso":"String","value":0},"priceUnit":{"count":0,"uoM":"String","quantityPerUoM":0},"vatCode":0,"vatPercent":0},"confirmedQuantity":{"count":0,"uoM":"String","quantityPerUoM":0},"deliveryMethod":{"deliveryMethodText":"String","deliveryDateTime":"\/Date(-62135596800000-0000)\/","descriptions":[{"text":"String","languageCodeIso":"String"}],"shippingCost":{"currencyCodeIso":"String","value":0}},"lineId":0,"descriptions":[{"text":"String","languageCodeIso":"String"}],"status":0}],"sellerOrderNumber":"String","status":0,"responseCode":"Ok","responseDescriptions":[{"text":"String","languageCodeIso":"String"}],"timeStamp":"\/Date(-62135596800000-0000)\/"}