Request and response types

The Customer Management Service supports both the JSON and XML data serialization formats.

The request format is specified by using the Content-Type header and
is required for operations that have a request body.

The response format can be specified in requests by using the Accept
header . A response can be serialized using a format that is different
from the request. If no response format is specified, JSON is the
default.

JSON and XML response formats
FormatAccept headerQuery extensionDefault
JSONapplication/json.jsonYes
XMLapplication/xml.xmlNo

JSON and XML response formats