1.Overview
The developer encapsulates the corresponding parameters as required to read the room card.The issuance, card reading, and logout interfaces of the proximity card require the user to download the lock dispenser application to match the interface for card issuance, card reading, logout, etc.This feature requires administrators to turn on issuing print permissions for members in member management.
2.Request address
3.Request method
4. Parameter specification
Attribute Type Constraint Explanation
sig String Required Request signature
issueMac String Required MAC address of the Card issuer, please ignore this parameter when the room types are QRLOCK and RFLOCK-V9
accountSid String Required Developer Account SID, the unique identifier of developer(32 characters of letters and numbers).
communityNo String Required Community No.
creatorAreaCode String Required Area code in front of the app phone number
creatorMobile String Required Mobile number, this mobile number user should be the same as the application user
creatorPassword String Required User password encrypted by md5, corresponding to the user of the mobile field
operateCardType String Required The type of induction card for the operation. Lock types can be viewed in the web end room management of lock cabinets, when the lock type is RFLOCK-V9 pass 2, lock type is QRLOCK pass 3, the remaining lock types are all passed to 4 (the remaining lock types include QRALOCK, QRBLOCK, QRMLOCK, QRNLOCK-WIFI)
5.Signature generation rule
Sequentially splicing accountSid, communityNo, issueMac, creatorAreaCode, creatorMobile, creatorPassword, authToken and then using md5 to obtain sig, authToken is obtained from the developer data.
6.Request samples
content-type:application/x-www-form-urlencoded
issueMac=7C778A6C7D9C&accountSid=98651082ab89c3f1b50f35caf794179f&communityNo=1316879946&creatorAreaCode=86&creatorMobile=10000000000&creatorPassword=bbc69d27003568a7a94626ce4337bc9d&operateCardType=4&sig=ffe16ee6d771a575216e8be573b7e51a
Successful result:
(The field of cardNo will be effective when the parameter of operateCardType is 2 and the issue type belongs to V9-Mifare.)
{"status":200,"info":"success","data":{"serialNum":"42873467","cardtype":"6","batchno":"000","buildername":"WIFIBuilding","floorname":"wifiFloor","builderno":"005","floorno":"003","roomno":"QR11","starttime":"2020-08-07 16:26:47","endtime":"2020-11-11 11:05:00","islost":"0","owner":"me is pu","remark":"","week":"0","cardNo":"84DC7"}}
Failure reason returning:
{ "status": 6200, "info": "Read card error" }
7. SDK
Sales
Software
After-sales
Hotline
400-8618286