...
Code will be 200 or 400, 200 is for success, if the code is 400 node <Message> will have reason for failure
HTTP Response Codes
Code | Message |
---|---|
200 | OK, All request processed |
406 | Input XML validation failed, response body will have reason for failure |
429 | API access restricted (Exceeded the rate limit / access not allowed) |
207 | Multi-Status, <RES> tag have more information |
400 | Request processing all record failed, <RES> tag have more information |
Response samples
Code : 200
Info |
---|
The response body depends on the configuration applied to your warehouse / API user account, for data posted directly into the main system a record by record response is given as below, alternatively ‘Data saved for processing’ will be returned. |
Code Block | ||
---|---|---|
| ||
<PRODUCTS> <PC> <HD> <ProductCode>PRO1</ProductCode> </HD> <RES> <Code>200</Code> <Message>ProductCode processed</Message> </RES> </PC> <PC> <HD> <ProductCode>PRO2</ProductCode> </HD> <RES> <Code>200</Code> <Message>ProductCode processed</Message> </RES> </PC> </PRODUCTS> |
...