Hitachi

JP1 Version 12 JP1/Automatic Operation Command and API Reference 


2.2.3 Input/output format

The JSON format or XML format can be used as the data format for API request and response. Specify this data format in the request header. If you omit specifying the data format, the JSON format is set. UTF-8 is used as the character encoding for input/output format.

The following example specifies the request header when the XML format is specified as the input/output format.

Example

Accept:application/xml
Content-Type:application/xml