Modify Project

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

Modify the information about a project, including the contact person and project name, based on the specified parameters, such as community ID.

API address

PUT: /v1.0/iot-02/community/project/{block_id}

Request parameter

Parameter nameTypeINRequiredDescription
block_idStringuritrueThe ID of a community.

Description of body

Parameter nameTypeINRequiredDescription
structure_idString trueThe ID of the associated organization.
project_nameString trueThe name of the project.
contactString trueThe contact name.
mobileString trueThe 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 location. For more information, visit http://www.stats.gov.cn/english/.
communityString falseThe name of the location. 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
resultBooleanIndicates whether the operation is successful.

Request example

PUT: /v1.0/iot-02/community/project/136767399153950xxxx
{
  "structure_id": "138479997683138xxxx",
  "location": "_c_h_n,330000,330200,330282",
  "locationName": "Cixi City, Ningbo City, Zhejiang Province",
  "street": "330282004",
  "streetName": "Hushan Street",
  "community": "330282004026",
  "communityName": "Mingzhu Community",
  "completion_time": 1617702356473,
  "delivery_time": 1619603158772,
  "acceptance_time": 1618998360608,
  "registration_time": 1619430365379,
  "projectName": "Sunny Park",
  "project_type_id": "138222641874998xxxx",
  "detailAddress": "Room 7x2, Building 3, Zheshang Fortune Center, Xihu District, Hangzhou City, Zhejiang Province",
  "contact": "Helen",
  "mobile": "1566901xxxx"
}

Return example

true

Error code

For more information, see error code.