Hitachi

JP1 Version 12 JP1/Automatic Operation Command and API Reference 


2.2.17 Status code

The following table describes the various status codes that can be returned when an API is executed. The status codes to be returned depend on the API, so see the description for each API for details.

Table 2‒44: Status code

Status code

Message

Description

200

OK

Processing the request has been successfully completed.

201

Created

If creation of a resource ended successfully, status 201 is returned instead of status 200.

400

Bad Request

The content of the request is invalid.

401

Unauthorized

Authentication failed. Authentication information or permission information is invalid. The accepted authentication method is reported by the WWW-Authenticate response header. Specify the accepted authentication method in the Authorization request header. Alternatively, the user does not have a permission for the service group or the User Management permission.

403

Forbidden

The user does not have execution permission for the request.

404

Not found

The requested resource does not exist, or the user does not have permission to operate the requested resource. Alternatively, a specified query parameter is invalid.

405

Method not allowed

The requested method does not exist for this resource.

406

Not acceptable

The format of the specified response is not supported.

409

Conflict

The request cannot be completed because the data conflicts with data that already exists on the server, or because the system cannot accept the request in the current status.

412

Precondition failed

The request cannot be accepted because it does not satisfy requirements.

415

Unsupported media type

The format of the specified request is not supported.

500

Server-side error

A server processing error occurred.