Hitachi

JP1 Version 12 JP1/Integrated Management 2 - Manager Command, Definition File and API Reference


5.2.6 Error response message

The following exception object is returned in the response message body if the status code is not 200:

{
"timestamp":1539923958358,
"status":403,
"error":"Forbidden",
"exception":"jp.co.hitachi_solutions.it_service_cooperation_framework.security.ImDdBadCredentialsException",
"message":"Login processing failed due to an invalid parameter.,
"path":"/im/api/v1/login",
"messageId":"KAJY52001-E",
"returnCode":3
}
Table 5‒8: Error response format in detail

Item

Description

timestamp

Specifies the elapsed time (in milliseconds) since 1970-01-01 00:00 in UTC.

status

statusCode in response format

exception

The class of the exception object

message

The message stored in the exception object.

(A string obtained by Throwable#getMessage())

path

The path and subsequent string in the URI of the issued REST API

messageId

The JP1 message ID

returnCode

The return value of the REST API

extensions

Extended response information