1.Overview
The developer encapsulates the corresponding parameters according to the requirements to obtain the MAC of the card issuer. Interface for issuing, reading and canceling induction card. It is suitable for QRA, QRB, qrn and QRM smart locks
2.Request address
3.Request method
4. Parameter specification
Attribute |
Type |
Constraint |
Explanation |
sig |
String |
Required |
Request signature
|
accountSid |
String |
Required |
Developer Account SID, the unique identifier of developer(32 characters of letters and numbers). |
communityNo |
String |
Required |
Community No. |
5.Signature generation rule
Sequentially splice accountSid, communityNo, authToken and then use MD5 to encrypt it to get sig, which is retrieved from developer data.
6.Request samples
content-type:application/x-www-form-urlencoded
accountSid=98651082ab89c3f1b50f35caf794179f&communityNo=1316879946&sig=f1b9fab22e2fc8445355745448f33afc
Successful result:
{"status": 200,"info": "success","data": [{"id": "4221","mac": "7C010A8C7Y9C"}]}
Failure reason returning:
{"status": 5118,"info": "No data is available","message": "No MAC is available"}
7. SDK