CHAPTER 3: COMMUNICATION PROTOCOL USAGE
3.2.5 PERSONNEL INFORMATION EDITING
Method: person/update
Method: server -> client
Interface Description:
Staff photos only support JPG and PNG
Photo address only supports pictures stored in http protocol
FIELD
age
imgUrl
name
prescription
sex
type
vipID
welcome
icCard
card
wn
{
"method": "person/ update",
"timestamp": 1585207755588,
"body": [{
"age": 40,
"name": "hyc1",
" imgUrl ": "http://.........png",
"prescription": "2020-03-21 00:00,2030-12-13 00:00",
"sex": 1,
"type": 1,
"vipID": 1,
"welCome": "helloworld"
}]
}
30
FIELD DESCRIPTION
TYPE
DESCRIPTION
int
Age
String
Photo download address
String
Name
Pass period (start time and end time separated by comma)
String
yyyy-MM-dd
HH:mm,yyyy-MM-dd HH:mm
int
sex
int
Types: The default is 1, 1 as visitors, 2 as blacklists, and 3 as employees
int
Create a person's id, find the person's editor based on the id
String
Reserved, can be left blank
String
ic card information
String
Id number
String
Reserved, can be left blank
1.877.877.2269
BLACKBOX.COM
NEED HELP?
LEAVE THE TECH TO US
LIVE 24/7
TECHNICAL
SUPPORT
1.877.877.2269