POST api/Org/AddFirstLevelOrg
新增一级经销商组织结构
Request Information
URI Parameters
None.
Body Parameters
id 要保存的组织机构ID,如果是新增,则传空 parent_id 上级组织机构ID org_name 组织机构名称 org_type 组织类型 org_code 组织代码 managed_name 组织代表姓名 mobile 手机号码
FirstOrgName | Description | Type | Additional information |
---|---|---|---|
id | string |
None. |
|
org_name | string |
None. |
|
org_code | string |
None. |
|
manager_name | string |
None. |
|
manager_phone | string |
None. |
|
phone_code | string |
None. |
|
current_user_id | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": "sample string 1", "org_name": "sample string 2", "org_code": "sample string 3", "manager_name": "sample string 4", "manager_phone": "sample string 5", "phone_code": "sample string 6", "current_user_id": "sample string 7" }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |