Add Project

Last Updated on : 2023-06-15 06:04:37

A project belongs to an organization. After a project is added to a specified organization based on the organization ID, a unique community ID in the SaaS solution is returned. You will use the community ID when you manage the space, residents, and the relationship between a resident and a house.

API address

POST: /v1.0/iot-02/community/project

Request parameter

Description of body

Parameter nameTypeINRequiredDescription
structure_idString trueThe ID of the associated organization.
project_nameString trueThe project name.
project_type_idString falseThe ID of the project type.
contactString falseThe contact name.
mobileString falseThe mobile phone number.
locationString falseThe code of the location. For more information, visit http://www.stats.gov.cn/english/.
location_nameString falseThe name of the location. For more information, visit http://www.stats.gov.cn/english/.
streetString falseThe code of the street. For more information, visit http://www.stats.gov.cn/english/.
street_nameString falseThe name of the street.
communityString falseThe code of the street. For more information, visit http://www.stats.gov.cn/english/.
community_nameString falseThe name of the community.
detail_addressString falseThe detailed address.
completion_timeLong falseThe date on which the project was completed.
delivery_timeLong falseThe date on which the project was delivered.
acceptance_timeLong falseThe date on which the project was accepted.
registration_timeLong falseThe date on which the project was registered.

Return parameter

Parameter nameTypeDescription
resultStringThe ID of the community.

Request example

POST: /v1.0/iot-02/community/project
{
  "structure_id": "138479997683138xxxx",
  "location": "CHN,330000,330200,330282",
  "location_name": "Cixi City, Ningbo City, Zhejiang Province",
  "street": "330282004",
  "street_name": "Hushan Street",
  "community": "330282004026",
  "community_name": "Mingzhu Community",
  "completion_time": 1617702356473,
  "delivery_time": 1619603158772,
  "acceptance_time": 1618998360608,
  "registration_time": 1619430365379,
  "project_name": "toptip",
  "project_type_id": "138222641874998****",
  "detail_address": "Room 7xx, Building 3, Zheshang Fortune Center, Xihu District, Hangzhou City, Zhejiang Province",
  "contact": "Helen",
  "mobile": "1566901xxxx"
}

Return example

"136767399153950xxxx"

Error code

For more information, see error code.