PUT api/{area}/Org?access_token={access_token}

更新组织结构名称

Request Information

Body Parameters

组织机构信息

Org
NameDescriptionTypeAdditional information
OrgId

ID

integer

None.

OrgName

Name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "org_id": 1,
  "org_name": "sample string 2"
}

application/xml, text/xml

Sample:
<Org xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAcc.Open.Areas.OAuth2.Models">
  <OrgId>1</OrgId>
  <OrgName>sample string 2</OrgName>
</Org>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

更新组织结构名称

SucceedResponse
NameDescriptionTypeAdditional information
result

结果字符串

string

None.

Response Formats

application/json, text/json

Sample:
{
  "result": "succeeded"
}