Last Updated on : 2023-06-21 07:13:11download
Modify the information about a specified resident, such as the identity type and political status. A response is returned to indicate whether the operation is successful. >Note: You cannot modify the mobile phone number.
PUT: /v1.0/iot-02/community/householder/{block_id}/{householder_id}
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
block_id | String | true | The ID of a community. | |
householder_id | String | true | The ID of a resident. | |
real_name | String | true | The name of a resident. | |
sex | Integer | true | Gender.
| |
mobile | String | true | The mobile phone number. | |
card_type | Integer | false | The type of certificate. 1 : ID card. | |
card_no | String | false | The certificate number. | |
if_identify | Integer | false | Indicates whether a resident' identity is verified.
| |
apply_source | Integer | false | Request origin.
| |
household_registry_type | Integer | false | The type of household registration.
| |
household_registry_address | String | true | Household registration address. | |
marital_status | Integer | true | Marital status.
| |
employer | String | true | Work unit. | |
political_status | Integer | true | Political status.
| |
emergency_contact | String | false | The emergency contact. | |
emergency_contact_number | String | false | The emergency contact information, such as a mobile phone number. |
Parameter name | Type | Description |
---|---|---|
result | Boolean | Indicates whether the operation is successful. |
PUT: /v1.0/iot-02/community/householder/136767399153950xxxx/139215249742181xxxx
{
"block_id": "138230001889922xxxx",
"real_name": "Jack",
"sex": 1,
"mobile": "1566901xxxx",
"card_type": 1,
"card_no": "32122119901010xxxx",
"household_registry_type": 1,
"marital_status": 2,
"employer": "Hangzhou xxxx Co., LTD",
"political_status": 1,
"emergency_contact": "Jane",
"emergency_contact_number": "1566901xxxx",
"household_registry_address": "CHN,110000,110100,110118,110118109; Beijing/Municipal District/Miyun District/Bulaotun Town"
}
true
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback