Content Negotiation for the EMS API
The EMS API supports content negotiation and where relevant can return objects in one of the following formats:
- JavaScript Object Notation (JSON)
- Extensible Markup Language (XML)
Request Format
The content type required must be specified in the request headers, using the Accept field.
Accept: {Content Type}; version={Version}
Where {Content Type} is:
- application/json for JSON content
- application/xml for XML content
- */* for API endpoints that return raw binary content
The Resource {Version} is set as described here.