POST api/Basic/Org/Update?corpId={corpId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
corpId

string

Required

Body Parameters

Org
NameDescriptionTypeAdditional information
Id

string

None.

Name

string

None.

ParentId

string

None.

SortOrder

string

None.

IsSubsidiary

integer

None.

Managers

Collection of User

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "name": "sample string 2",
  "parentId": "sample string 3",
  "sortOrder": "sample string 4",
  "isSubsidiary": 5,
  "managers": [
    {
      "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.