Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Automatic Operation GUI, Command, and API Reference


9.2.10 Request header

The request header specifies the data format and language code for the response.

Table 9‒12: Request header

Header

Description

Specifiable value

Default value

Whether specification is required

Host

Specify the following items as host information:

  • Host name or IP address: Host name or IP address of the JP1/AO server

  • Port number: Port number that an API uses to connect to JP1/AO

    When you specify the port number, see 9.2.1 Communication protocol.

Specify this value after checking the user environment.

--

Required

Accept

Specify the desired data format for response data.

  • application/json: JSON format

  • application/xml: XML format

application/json

Required

Accept-Language

Specify the desired language code for response data.

ja: Japanese

--

Required

Content-Type

Specify the data format for the request body.

  • application/json: JSON format

  • application/xml: XML format

application/json

Optional

Authorization

Specify authentication information.

For Basic authentication:

user-information

For authentication using the HSSO token:

hsso-token

--

Optional

Legend:

--: Not applicable.