How it works


1. Get your API key in Config -> General -> Account, use it in any command sent to API
2. Command format is JSON, sent after "/cp_api" url, like /cp_api?{JSON HERE}
3. Commands require 'method' (for example 'clients_list') and 'key' parameters (API key from first step)
4. List any additional parameters in 'params' hash
5. Send command to api.opencontrolplus.com/cp_api

Example of simple command without parameters:
http://api.opencontrolplus.com/cp_api?{"method":"get_clubs", "key":"YOUR KEY HERE", "params":{}}

Example of simple command with parameters:
http://api.opencontrolplus.com/cp_api?{"method":"clients_list","key":"YOUR KEY HERE","params":{"memberships":"valid","limit":"5","page":""}}

users

sales

pos

user

reservations

stopperiods

inscriptions

general

visits

mailing

external