5.8.1 IM management node information acquisition
- Description
-
Gets the IM management node information collected from JP1/AJS3, JP1/PFM, JP1/IM, JP1/Base, and others. It can get all IM management node information, regardless of view permissions of the logged-in JP1 user.
- Execution permissions
-
-
JP1_Console_Admin
-
JP1_Console_Operator
-
JP1_Console_User
-
- API version
-
v1
- Format
-
- Request line
GET /application/component/apiVersion/nodes/configInfo httpVersion
- Request message body
-
None.
- Response message body
{ "simtData":[ IM-management-node-information-object,... ] }
- Parameters
-
None.
- Status codes
-
The following table describes the status codes that are returned as a response to the request:
Status code
Message
Description
200
OK
The IM management node information was retrieved successfully.
400
Bad Request
The request header is invalid.
401
Unauthorized
Authentication is required.
403
Forbidden
There is no execution permission.
404
Not Found
The resource could not be found.
406
Not Acceptable
An invalid Accept or Accept-Language header is specified.
412
Precondition failed
The server cannot be accessed.
415
Unsupported media type
An invalid Content-Type header is specified.
500
Internal Server Error
An error occurred with the server processing.
- Return values
-
The following information is returned in the response body if the status code is 200:
No.
Member name
Data type
Description
1
simtData
object[]
Returns an array of the IM management node information objects that contain collected IM management node information.
A zero-length array is returned if no IM management node information.
- Examples
-
The following example uses this API to get IM management node information.
Note that the value of the Authorization header must be specified in a single line.
- Request:
GET /im/api/v1/nodes/configInfo HTTP/1.1 Authorization: Bearer xxxx Accept-Language: ja Content-Type: application/json Accept: application/json
- Response:
HTTP/1.1 200 OK Cache-Control: no-store, no-cache, max-age=0 Pragma: no-cache Expires: Thu, 01 Jan 1970 00:00:00 GMT Content-Type: application/json { "simtData":[ {"sid":"_JP1AJS-M_host1/_HOST_host1","value":{...}}, {"sid":"_JP1AJS-M_host1/_HOST_host1/_JP1SCHE_schedulerserv","value":{...}}, {"sid":"_JP1AJS-M_host1/_HOST_host1/_JP1SCHE_schedulerserv/_JP1JOBG_jobgroup","value":{...}}, {"sid":"_JP1AJS-M_host1/_HOST_host1/_JP1SCHE_schedulerserv/_JP1JOBG_jobgroup/_JP1ROOTJOBNET_jobnet1","value":{...}}, {"sid":"_JP1AJS-M_host1/_JP1AJS-A_AGT10/_HOST_host10","value":{...}}, {"sid":"_JP1PFM-M_host2/_HOST_host2","value":{...}}, {"sid":"_JP1PFM-M_host2/_JP1PFM-A_servid/_HOST_host20","value":{...}} ] }