POST api/Setting/role/Update

Request Information

URI Parameters

None.

Body Parameters

Role
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Items

Collection of string

None.

RoleUser

Collection of User

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 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",
      "departments": [
        {
          "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",
      "departments": [
        {
          "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.