POST api/{version}/Org/UpdateOrg

更新组织结构

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

id 要保存的组织机构ID,如果是新增,则传空 parent_id 上级组织机构ID org_name 组织机构名称 org_type 组织类型 org_code 组织代码 managed_name 组织代表姓名 mobile 手机号码

OrgIn
NameDescriptionTypeAdditional information
id

string

None.

pid

string

None.

org_name

string

None.

type

integer

None.

org_code

string

None.

manager_name

string

None.

manager_phone

string

None.

phonecode

string

None.

is_first

boolean

None.

current_user_id

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "pid": "sample string 2",
  "org_name": "sample string 3",
  "type": 4,
  "org_code": "sample string 5",
  "manager_name": "sample string 6",
  "manager_phone": "sample string 7",
  "phonecode": "sample string 8",
  "is_first": true,
  "current_user_id": "sample string 10"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.