Last Updated on : 2023-06-15 06:04:07
After entering the organization name, call this API to return the organization ID. You will use the organization ID when you query, modify, delete, and manage the project.
POST: /v1.0/iot-02/community/structure
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
parent_structure_id | String | false | The parent organization. An empty value indicates the root organization. | |
structure_name | String | true | The name of a specified organization. | |
address_code | String | false | Address (the code of the province, city, district, and street). For more information, visit http://www.stats.gov.cn/english/. | |
address_detail | String | false | The detailed address. | |
contact | String | false | The contact name. | |
contact_mobile | String | false | The contact person's phone number. | |
contact_email | String | false | The contact person's email address. |
Parameter name | Type | Description |
---|---|---|
result | String | The organization ID. |
POST: /v1.0/iot-02/community/structure
{
"parent_structure_id": "",
"structure_name": "12121",
"address_detail": "Room 7x2, Building 3, Zheshang Fortune Center, Xihu District, Hangzhou City, Zhejiang Province",
"contact": "Helen",
"contact_mobile": "1880000xxxx",
"address_code": "110000,110100,110118,110118116,110118116209",
"location": [
{
"level": "1",
"has_children": true,
"name": "Beijing City",
"full_name": "",
"full_id": "CHN,110000",
"id": "110000"
},
{
"level": "2",
"has_children": true,
"name": "District",
"full_name": "",
"full_id": "CHN,110000,110100",
"id": "110100"
},
{
"level": "3",
"has_children": true,
"name": "Miyun District",
"full_name": "",
"full_id": "CHN,110000,110100,110118",
"id": "110118"
},
{
"level": "4",
"has_children": true,
"name": "Shicheng Town",
"full_name": "",
"full_id": "CHN,110000,110100,110118,110118116",
"id": "110118116"
},
{
"level": "5",
"has_children": false,
"name": "Zhangjiafen Village Committee",
"full_name": "",
"full_id": "CHN,110000,110100,110118,110118116,110118116209",
"id": "110118116209"
}
]
}
"137209008401233xxxx"
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback