Member: update
Overview
Modify a member. For example, you could change a member's name, gender, or age.
API URL
/api/person/update
HTTP Method
POST
URL Parameters
Name | Type | Required | Description |
---|---|---|---|
access_token or user_access_token | String | Requires | Specify the API access_token of the account or the user_access_token obtained after the user logged in. |
id | String | Requires | Specify the id that needs to be updated. |
Form Data
Name | Description |
---|---|
name | Member Name |
serialnumber | Member Serial NO. |
classify | Member Category ID |
tag_serialnumber | Tag Serial NO. |
sex | Gender(0:Male,1:Female) |
age | Age |
avatar | The avatar id that needs to be updated. |
warninglevel | Alarm Level |
img1 | Avatar info 1 |
img2 | Avatar info 2 |
img3 | Avatar info 3 |