The developer encapsulates the corresponding parameters according to the requirements to issue the room cards.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).
endTime String Required QRM valid end time, format: 1808050403 2018, 08, 05, 04, 03 minutes.
communityNo String Required Community No.
buildNo String Required Building No.
floorNo String Required Floor No.
roomNo String Required Room 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
opentype String Optional Open type,0:Single open(by default);1:Normally open.The lock type shall be QRBLOCK/QRMLOCK/QRALOCK.
owner String Optional Holder (This parameter is required when issuing cards which lock type is QRN-WIFI or connected to the QR box.)
ownerGender Integer Optional Holder's gender, 0: female, 1: male (This parameter is required when issuing cards which lock type is QRN-WIFI or connected to the QR box.)
ownerAreaCode String Optional The holder's phone area code (note that no other characters are used before the number.) This parameter is required when issuing cards of the lock type of QRN-WIFI and connected QR boxes. )
ownerMobile String Optional Holder handset number (not including district number.When signs and issues QRN-WIFI and already connects the QR box the lock type card, this parameter must fill in, when this handset number existence can inquire the cardholder name automatically, and neglects the owner parameter value; Otherwise for this handset number registration name will be the owner cardholder) eg:18510623155
5.Signature generation rule
Sequential splicing issueMac, endTime, accountSid, communityNo, buildNo, floorNo, roomNo, authToken is then encrypted using MD5 to obtain sig, and authToken is obtained from developer data.
6.Request samples
Successful result:
{"status":200,"info":"success","message":"Successful operation"}
Failure reason returning:
{"status": 5118,"info": "No data is available","message": "Error"}
7. SDK