CATCH LOC Developers

Login

위치수집 제어 API

Description

백그라운드에서 위치오브젝트의 위치수집을 제어하는 API.

API

http://cms.catchloc.com/api.set.member.location.collect.php

Parameters

api_key : 파트너 API_KEY
member_key : 적용대상의 MEMBER_KEY
timestamp : 현재시간 Unix timestamp
cert_key : API 인증용 hash key
action : Y(위치수집 시작), N(위치수집종료)

Response

protocol : JSON Object
result : OK, FAIL
message : COMMON_ERROR_MESSAGE, LOCATION COLLECT SET

Example

- Request http://cms.catchloc.com/api.set.member.location.collect.php?api_key= abcdefghijklmnopqrstuvwxyz1234567890& member_key=abcdefghijklmnopqrstuvwxyz1234567890&timestamp=1446624149000&cert_key=abcdefghijklmnopqrstuvwxyz 1234567890&action=Y - Response {"result":"OK","message":"SUCCESS : LOCATION COLLECT SET"}