Community
Forum
Events
Points
Sign up
Login
x912 API
x912 API
jgandon
2024-06-18 21:28
193 Views
[Access Control]
jgandon
Credits 32
Threads 1
Hello,
How can i add user using the API ? Is there documentation on this ?
Thanks
手机扫一扫
Report
All comments
4
rachel
2024-06-19 16:24:51
for example:
{
"target": "user",
"action": "add",
"data":
{
"item":
[
{
"UserID": "per3",
"PrivatePIN": "234557;1233",
"LiftFloorNum": "2;3;4",
"Name": "user3",
"ScheduleRelay": "1001-12",
"CardCode": "2342315;33221122",
"Building": "",
"Room": "",
"WebRelay": "0"
}
]
}
}
Example Return:
{
"retcode": 1,
"action": "add",
"message": "OK"
}
0
Reply
Report
jgandon
2024-06-19 16:29:41
Hi,
Thank you for the answer.
I finally found it.
But for x912, you have to put "Shedule-Relay" instead of "ScheduleRelay" otherwise it doesn't work
1
Reply
Report
FlipTiM
2024-07-24 13:55:41
Do you have any idea how to set RelayA or RelayB?
0
Reply
Report
rachel
2024-07-25 09:12:55
api relay set
Only POST method can be used for this function.
Example Request:
POST:
{
"target": "relay",
"action": "set",
"data" : {
"Config.DoorSetting.RELAY.HoldDelayA": "8"
}
}
Example Return:
{
"retcode": 0,
"action": "set",
"message": "OK"
}
0
Reply
Report
Advanced Mode
You have to log in before you can reply
Login
|
Sign up
To last page
Reply post