Custom Data Fields using ISAPI commands

Joined
Oct 10, 2023
Messages
1
Reaction score
0
Location
Uganda
Hello team, I have an access control Device DS-K1T804AMF and am trying to get information about a user for example tel. number and some custom fields I configured using the ivms 4200 client software. I am building a platform to send an SMS once someone checks in, but somehow I cannot capture any extra information about that person. Is there a way I can achieve this?
Thanks in advance
 

trempa92

Pulling my weight
Joined
Mar 26, 2020
Messages
736
Reaction score
230
Location
Croatia,Zagreb
GET /ISAPI/AccessControl/UserInfo/capabilities?format=json

And check if your device support it, it could be PersonInfoExtends, nothing else exists besides that. You probably will need to make PUT to every person what u had on ims4200


Code:
"searchID": "865",

        "responseStatusStrg": "OK",

        "numOfMatches": 6,

        "totalMatches": 6,

        "UserInfo": [

            {

                "employeeNo": "611",

                "name": "***",

                "userType": "normal",

                "closeDelayEnabled": false,

                "Valid": {

                    "enable": true,

                    "beginTime": "2022-12-31T23:59:59",

                    "endTime": "2029-12-31T23:59:59",

                    "timeType": "local"

                },

                "belongGroup": "",

                "password": "",

                "doorRight": "1",

                "RightPlan": [

                    {

                        "doorNo": 1,

                        "planTemplateNo": "1"

                    }

                ],

                "maxOpenDoorTime": 0,

                "openDoorTime": 0,

                "roomNumber": 0,

                "floorNumber": 0,

                "localUIRight": false,

                "gender": "unknown",

                "numOfCard": 1,

                "numOfFace": 1,

                "PersonInfoExtends": [

                    {

                        "value": ""

                    }

                ]

            },
 
Last edited:
Top