POST v1/application/role/permissions

APPLICATION UPDATE ROLE PERMISSIONS

Request Information

URI Parameters

None.

Body Parameters

ListRolePermissionRequestModel
NameDescriptionTypeAdditional information
role_id

integer

None.

user_company_id

Company UID of the active user

string

Required

Data type: Text

user_id

User ID (GUID)

string

Required

Data type: Text

user_signature

MD5 hash signature for the active user to validate the request

string

Required

Data type: Text

Request Format

application/json, text/json

Sample:
{
  "role_id": 1,
  "user_company_id": "sample string 2",
  "user_id": "sample string 3",
  "user_signature": "sample string 4"
}

Response Information

Resource Description

APPLICATION UPDATE ROLE PERMISSIONS

BaseMetaResultModelOfListOfListRolePermissionResponseModel
NameDescriptionTypeAdditional information
response

Collection of ListRolePermissionResponseModel

None.

meta

Basic meta information for the operation result

MetaModel

None.

Response Format

application/json, text/json

Sample:
{
  "response": [
    {
      "id": 1,
      "role_id": 2,
      "permission_id": 3,
      "permission_code": "sample string 4",
      "permission_name": "sample string 5",
      "permission_description": "sample string 6"
    },
    {
      "id": 1,
      "role_id": 2,
      "permission_id": 3,
      "permission_code": "sample string 4",
      "permission_name": "sample string 5",
      "permission_description": "sample string 6"
    }
  ],
  "meta": {
    "status_code": 1,
    "status_message": "sample string 2"
  }
}