POST v1/application/permission/add

APPLICATION ADD PERMISSION

Request Information

URI Parameters

None.

Body Parameters

AddPermissionRequestModel
NameDescriptionTypeAdditional information
parent_id

integer

None.

code

string

None.

name

string

None.

description

string

None.

is_static

boolean

None.

source

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:
{
  "parent_id": 1,
  "code": "sample string 1",
  "name": "sample string 2",
  "description": "sample string 3",
  "is_static": true,
  "source": 5,
  "user_company_id": "sample string 6",
  "user_id": "sample string 7",
  "user_signature": "sample string 8"
}

Response Information

Resource Description

APPLICATION ADD PERMISSION

BaseMetaResultModel
NameDescriptionTypeAdditional information
meta

Basic meta information for the operation result

MetaModel

None.

Response Format

application/json, text/json

Sample:
{
  "meta": {
    "status_code": 1,
    "status_message": "sample string 2"
  }
}