List all methods of REST API and explain the API functionality
URL: http://[SERVER]:[PORT]/IAM2RESTService/services/v1/login
HTTP Request Header: Content-Type: application/json
HTTP Request Body: {
"username":"[Name]",
"password":"[Password]",
"system_id":"[System ID from IAM2]",
"system_secret":"[System secret code]"
}
HTTP Response Body: {
"accessToken": "5T_e-GoXlHd_xUIh7ot31_x2g-tihld7_f4t_mvSwgE=" // the IAM accessToken
} Permission
URL: http://[SERVER]:[PORT]/IAM2RESTService/services/v1/perms/{accessToken}
HTTP Method: GET
HTTP Request Header: n/a
HTTP Request Body: n/a
HTTP Response Body: {
"Permission": {
"role": [
{
"role_id": -2,
"role_name": "user",
"role_desc": null,
"parent_role": null,
"system_id": -99
}
],
"objectAccesses": [
{
"object_id": -9,
"object_name": "USER_PROFILE_USERMODE",
"object_type": "MENU_USER",
"object_ref_id": null,
"access": [
{
"access_id": 1,
"access_type": "view",
"object_id": -9
}
],
"object_property": [
{
"objectPropertyId": -9,
"objectId": -9,
"name": "profileusermode",
"value": "/profileusermode.html"
}
]
}]
}} User Information
Get Objects
Get Object Types
Get All Permissions
Get All Users
Logout
Last updated
