POST api/Setting/role/Save?corpId={corpId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
corpId

string

Required

Body Parameters

Role
NameDescriptionTypeAdditional information
Id

string

None.

Name

string

None.

Items

Collection of string

None.

RoleUser

Collection of User

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "name": "sample string 2",
  "items": [
    "sample string 1",
    "sample string 2"
  ],
  "roleUser": [
    {
      "id": "sample string 1",
      "jobnumber": "sample string 2",
      "name": "sample string 3",
      "gender": 4,
      "genderName": "sample string 5",
      "active": 6,
      "activeName": "sample string 7",
      "birthdate": 8,
      "hiredate": 9,
      "photo": "sample string 10",
      "orgs": [
        {
          "value": "sample string 1",
          "label": "sample string 2"
        },
        {
          "value": "sample string 1",
          "label": "sample string 2"
        }
      ],
      "extends": [
        {
          "extend_label": "sample string 1",
          "extend_value": "sample string 2",
          "extend_key": "sample string 3"
        },
        {
          "extend_label": "sample string 1",
          "extend_value": "sample string 2",
          "extend_key": "sample string 3"
        }
      ]
    },
    {
      "id": "sample string 1",
      "jobnumber": "sample string 2",
      "name": "sample string 3",
      "gender": 4,
      "genderName": "sample string 5",
      "active": 6,
      "activeName": "sample string 7",
      "birthdate": 8,
      "hiredate": 9,
      "photo": "sample string 10",
      "orgs": [
        {
          "value": "sample string 1",
          "label": "sample string 2"
        },
        {
          "value": "sample string 1",
          "label": "sample string 2"
        }
      ],
      "extends": [
        {
          "extend_label": "sample string 1",
          "extend_value": "sample string 2",
          "extend_key": "sample string 3"
        },
        {
          "extend_label": "sample string 1",
          "extend_value": "sample string 2",
          "extend_key": "sample string 3"
        }
      ]
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResultOfBoolean
NameDescriptionTypeAdditional information
code

integer

None.

message

string

None.

result

boolean

None.

Response Formats

application/json, text/json

Sample:

Sample not available.