The developer encapsulates the corresponding parameters as required to cancel 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 lock 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.
serialNum String Required Inductive card serial number, derived from the card reader interface
creatorAreaCode String Optional Area code in front of the app phone number(Corresponding creatorMobile)
creatorMobile String Optional Mobile number, this mobile number user should be the same as the application user(Either CreatorMobile or CreatoreMail must be filled in. If both are filled in, CreatorMobile will prevail)
creatorEmail String Optional The mailbox, this mailbox user should be the same as the application user(Either CreatorMobile or CreatoreMail must be filled in. If both are filled in, CreatorMobile will prevail)
creatorPassword String Required User password encrypted by md5, corresponding to the user in the creator account 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)
5.Signature generation rule
When the CreatorAreaCode and CreatorMobile are not empty, the concatenation string is as follows, and then MD5 is used to get the sig:
sig = md5(str) = "c1d425b5d425d0e776cf387c5118b543"
When the creatorAreaCode and creatorMobile are empty, there is no need to concatenate them because they are empty strings. The concatenate strings are as follows, and then MD5 is used to obtain the sig:
sig = md5(str) = "6a9c77bc3252025bfc02c67f49b833ad"
6.Request samples
Successful result:
{ "status": 200, "info": "success" }
Failure reason returning:
{ "status": 6200, "info": "Cancelled card 错误" }
7. SDK
Hardware Consulting