API access to add location object's group member.
api_code : api.common.group.set.object.add
HOST : http://cms.catchloc.com/api.partner.common.php
Method : GET
Protocol : JSON
api : api_code
api_key : Client's partner key
timestamp : Unix timestamp
cert_key : certification key
group_key : HASH KEY to certify GROUP
member_key : HASH KEY to certify device
result: RESULT
message:result code
===== Request =====
http://cms.catchloc.com/api.partner.common.php?
api=api.common.group.set.object.add&
api_key=xxxxx&
timestamp=1513319595&
cert_key=xxxxx&
group_key=xxxxxx&
member_key=xxxxxx
===== Response =====
- Success
{
"result":"OK",
"message":"GROUP_MEMBER_ADD"
}
- Fail
{
"result":"FAIL",
"message":"Reason"
Reason:
- DUPLICATED_GROUP_MEMBER : device already registered to specified group
- NO_MEMBER_INFO : No device information allocated to member_key
- NO_GROUP_INFO : No group information allocated to group_key
}