Content Types

Requests

The API expects all writing requests (POST, PUT, PATCH) in JSON format with the Content-Type: application/json header (optionally as Content-Type: application/json; charset=UTF-8)

Responses

The API uses JSON as the response format, which is accompanied by the Content-Type: application/hal+json header in most responses. The only exceptions are the Reports endpoints, which return the Content-Type: application/json header.