POST 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

创建新的组织机构

Org
NameDescriptionTypeAdditional information
OrgId

ID

integer

None.

OrgName

Name

string

None.

Response 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>