JSON versus SOAP
Restful APIs are exposed in JSON format, regardless of the format the backend is offering. When the backend exposes JSON, the API exposes JSON. Backend SOAP services can be exposed by transforming the message from XML to JSON in the API, so when the backend exposes SOAP, the API exposes JSON. In case of failure to map a field of the response to JSON, an undefined value will be returned. The original response status code will be unaffected by mapping problems.
| API Type | Public | Partner | Internal |
|---|---|---|---|
| Guideline | Must | Should | Could |