Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'clients_list' constant | ||
key | string | Security key | ||
params[memberships] | string | Filter users by status in club | leads, leads_passive, leads_active, new_leads_to_call, valid, not_valid, not_valid_recent, future, old, not_active, active, in_stop, in_medical_stop | |
params[email] | string | Search user by email, exact match | ||
params[last_update] | time | Updated after requested datetime | ||
params[club_id] | integer | Club id from get_clubs command | ||
params[label_id] | string | Search user by label ID (see user/get_labels) | ||
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
total_count | integer | Total users count | |
current_page | integer | Page number that was requested | |
total_pages | integer | Total number of pages for request | |
users | hash |
{
id: { }brought_by: string }personal_coach: string city: string country: string email: string name: string club_card_nr: string sales: string photo: string comment: string entered: string phone: string zipcode: string province: string smsLastSent: date smsSent: integer club_card_nr_qrcode: string campaign: string mob_phone: string birthday: date member_number: string sex: string inscriptions: hash { updated_at: date_timeindex: { }inscr_visitdone: integer }inscr_stop_date: date inscr_maxvisit: integer inscrtype_id: integer inscr_last_visit: date inscrtype_type: integer inscrtype_name: string inscr_enddate: date inscr_id: integer inscr_startdate: date labels: string lastname: string check_in_pincode: string club_card_amount: string address: string interjection: string valid_member_days: integer |
Users data hash |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_leads_to_call' constant | ||
key | string | Security key | ||
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
total_count | integer | Total users count | |
current_page | integer | Page number that was requested | |
total_pages | integer | Total number of pages for request | |
users | hash |
{
id: { }email: string }name: string comment: string salesperson: string phone: string mob_phone: string member_number: string sex: string lastname: string address: hash { interjection: stringdata: { }country: string }city: string zipcode: string address: string |
Users data hash |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_leads_to_followup' constant | ||
key | string | Security key | ||
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
total_count | integer | Total users count | |
current_page | integer | Page number that was requested | |
total_pages | integer | Total number of pages for request | |
users | hash |
{
id: { }email: string }name: string comment: string salesperson: string phone: string mob_phone: string member_number: string sex: string lastname: string address: hash { interjection: stringdata: { }country: string }city: string zipcode: string address: string |
Users data hash |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_leads_not_intrested' constant | ||
key | string | Security key | ||
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
total_count | integer | Total users count | |
current_page | integer | Page number that was requested | |
total_pages | integer | Total number of pages for request | |
users | hash |
{
id: { }email: string }name: string comment: string salesperson: string phone: string mob_phone: string member_number: string sex: string lastname: string address: hash { interjection: stringdata: { }country: string }city: string zipcode: string address: string |
Users data hash |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_companies' constant | ||
key | string | Security key | ||
params[company_type] | string | Filter users by company type | client, supplier, lead, potential, reseller, insurance, repairer, school | |
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
total_count | integer | Total users count | |
current_page | integer | Page number that was requested | |
total_pages | integer | Total number of pages for request | |
users | hash |
{
id: { }email: string }name: string comment: string phone: string mob_phone: string company_type: string member_number: string sex: string lastname: string address: hash { interjection: stringdata: { }country: string }city: string zipcode: string address: string outlets: array |
Users data hash |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_company' constant | ||
key | string | Security key | ||
params[company_id] | integer | true | Company database ID |
Naam | Type | Omschrijving | |
---|---|---|---|
users | hash |
{
id: { }email: string }name: string financial: hash { comment: stringdata: { }invoice_terms: string }is_paid_by_company: bool iban: string fin_account_owner: string sepa_custom_payer: bool no_reminders: bool is_fixed_discount_date: bool invoice_due_days: integer fin_mandate_signed_ar: date custom_storno: bool payment_method: hash custom_storno_email: string fixed_discount: double bank_account_status: bool vat_nr: string fin_mandate: string group_id: integer fixed_euro_discount: double is_no_storno_emails: bool is_do_not_charge_reminders_extra_fee: bool kvk: string is_receive_mailings: bool phone: string mob_phone: string standard_purchase_values: hash { company_type: stringdata: { }subject_text: string }currency: hash bookkeeping_type_cost: hash bookkeeping_diary: hash percent_vat_deductible: double amount_vat_deductible: double vat_code: double bookkeeping_cost_center: hash vat_amount: double price_excl_vat: double tax: hash bookkeeping_number: hash price_incl_vat: double is_recurrent: bool process_automatically: bool standard__values_type: integer member_number: string fax: string sex: string labels: string lastname: string standard_sales_values: hash { address: hashdata: { }subject_text: string }currency: hash bookkeeping_type_cost: hash bookkeeping_diary: hash percent_vat_deductible: double amount_vat_deductible: double vat_code: double bookkeeping_cost_center: hash vat_amount: double price_excl_vat: double tax: hash bookkeeping_number: hash price_incl_vat: double is_recurrent: bool process_automatically: bool standard__values_type: integer { website: stringdata: { }country: string }city: string zipcode: string address: string interjection: string outlets: array |
Comapany details |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_valid_clients_small' constant | ||
key | string | Security key | ||
params[page] | integer | Page number | ||
params[per_page] | integer | Limit of items to return | ||
params[memberships] | string | Filter users by status in club | leads, leads_passive, leads_active, valid, not_valid, not_valid_recent, future, old, not_active, active, in_stop, in_medical_stop | |
params[last_update] | time | Updated after requested datetime | ||
params[club_id] | integer | Club id from get_clubs command | ||
params[access] | string | Put 'access' to get all people who linked to club id | ||
params[starters_from] | date | Date to fetch started members, YYYY-MM-DD | ||
params[starters_until] | date | Date to fetch started members, YYYY-MM-DD | ||
params[stopped_from] | date | Date to fetch stopped members, YYYY-MM-DD | ||
params[stopped_until] | date | Date to fetch stopped members, YYYY-MM-DD |
Naam | Type | Omschrijving | |
---|---|---|---|
current_page | integer | Page number that was requested | |
total_pages | integer | Total number of pages for request | |
users | hash |
{
id: { }qr_codes: string }barcode_card: string email: string name: string glan_card: string next_reservation: datetime club_card: string member_number: string rfid_card: date sex: string qrcode_card: string lastname: string outlet_ids: string main_outlet_id: integer check_in_pincode: string interjection: string |
Users data hash |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'validate_qr' constant | ||
key | string | Security key | ||
params[qr_code] | string | true | QR code read from phone |
Naam | Type | Omschrijving |
---|
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'validate_qr' constant | ||
key | string | Security key | ||
params[qr] | string | QR code | ||
params[hardware_point_id] | integer | QR hardware point id | ||
params[staff_id] | string | Staff that will check in, used to determine outlet | ||
params[outlet_id] | string | Staff that will check in, used to determine outlet |
Naam | Type | Omschrijving | |
---|---|---|---|
user_id | integer | User id in case check in are ok, message if not | |
visit_id | integer | Visit id | |
revisit | integer | How many times user checked in today | |
check_out | date | When check out was registered |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'dynamic_qr_check_in' constant | ||
key | string | Security key | ||
params[qr] | string | QR code | ||
params[qr_hardware_point_id] | integer | QR hardware point id | ||
params[staff_id] | string | Staff that will check in, used to determine outlet |
Naam | Type | Omschrijving | |
---|---|---|---|
user_id | integer | User id in case check in are ok, message if not | |
visit_id | integer | Visit id | |
revisit | integer | How many times user checked in today | |
check_out | date | When check out was registered |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'club_card_check_in' constant | ||
key | string | Security key | ||
params[club_card_number] | string | Club card number | ||
params[hardware_point_id] | string | Hardware point ID | ||
params[staff_id] | string | Staff that will check in, used to determine outlet |
Naam | Type | Omschrijving | |
---|---|---|---|
user_id | integer | User id in case check in are ok, message if not | |
visit_id | integer | Visit id | |
revisit | integer | How many times user checked in today |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_valid_clients_vending' constant | ||
key | string | Security key | ||
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
current_page | integer | Page number that was requested | |
total_pages | integer | Total number of pages for request | |
users | hash |
{
id: { }qr_codes: string }barcode_card: string email: string name: string vending_code: string glan_card: string next_reservation: datetime club_card: string member_number: string rfid_card: string sex: string qrcode_card: string lastname: string outlet_ids: string main_outlet_id: integer check_in_pincode: string interjection: string |
Users data hash |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'client_detail' constant | ||
key | string | Security key | ||
params[client_id] | integer | true | User database ID, not 'Custom ID assigned by club' |
Naam | Type | Omschrijving | |
---|---|---|---|
json_code | integer | Constant value: 14 | |
club_id | integer | Reserved for future, blank now | |
members_name | string | First name | |
members_interjection | string | Interjection | |
members_lastname | string | Last name | |
members_sex | string | M or F | |
birthday | date | YYYY-DD-MM format | |
bank_account | string | Bank account | |
bank_bic | string | Bank bic | |
members_address | string | Address | |
country | string | Country | |
province | string | Province | |
members_zipcode | string | Zipcode | |
members_city | string | City | |
members_phone | string | Phone | |
members_mob_phone | string | Mobile phone | |
members_email | string | ||
personal_coach | string | Personal coach | |
brought_by | string | Brought by | |
campaign | string | Campaign | |
labels | string | Client labels assigned by club, comma separated | |
entered | string | Entered by | |
client_photo | string | Url to image (max 100px size) | |
sales | string | Sales person | |
club_card_amount | double | Amount stored on club_card | |
smsSent | integer | sms sent 1 or 0 | |
smsLastSent | date | smsLastSent date, YYYY-MM-DD format |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'add_money_to_clubcard' constant | ||
key | string | Security key | ||
payment_reference | string | |||
params[client_id] | integer | true | User database ID, not 'Custom ID assigned by club' | |
params[payment_method_type_id] | integer | true | Payment method type, 1 = Cash, 2 = Bank, 3 = PIN, 10 = Online | 1, 2, 3, 10 |
params[amount] | double | true | Amount to add to user club card' |
Naam | Type | Omschrijving | |
---|---|---|---|
json_code | integer | Constant value: 14 | |
old_club_card_amount | double | Old amount on club card | |
club_card_amount | double | Current amount on club card |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_client_by' constant | ||
key | string | Security key | ||
params[field] | string | true | One of the values: club_card_nr, club_card_nr_qrcode | club_card_nr, club_card_nr_qrcode |
params[value] | string | true | New value of field | |
params[client_id] | integer | true | User database ID, not 'Custom ID assigned by club' |
Naam | Type | Omschrijving | |
---|---|---|---|
json_code | integer | Constant value: 14 |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'update_client_info' constant | ||
key | string | Security key | ||
params[client_id] | integer | true | User database ID, not 'Custom ID assigned by club' | |
params[name] | string | true | First name | |
params[interjection] | string | true | Interjection | |
params[lastname] | string | Last name | ||
params[members_gender] | boolean | Gender | M, F | |
params[birthdate] | date | Birthdate, DD/MM/YYYY format | ||
params[address] | string | Address | ||
params[zipcode] | string | ZIP | ||
params[city] | string | City | ||
params[country_id] | integer | Country id, 159 for Netherlands, 20 for Belgium | ||
params[club_id] | integer | Outlet id from get_clubs command | ||
params[phone] | string | Phone number | ||
params[bank_account] | string | Bank account | ||
params[bank_bic] | string | Bank bic | ||
params[mobile_phone] | string | Mobile phone number | ||
params[comment] | string | General comment | ||
params[email] | string |
Naam | Type | Omschrijving | |
---|---|---|---|
json_code | integer | Constant value: 14 |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_client_by' constant | ||
key | string | Security key | ||
params[field] | string | true | One of the values: member_number, club_card_nr, club_card_nr_qrcode | member_number, club_card_nr, club_card_nr_qrcode |
params[value] | string | true | Value of field |
Naam | Type | Omschrijving | |
---|---|---|---|
json_code | integer | Constant value: 14 | |
client_id | integer | Uniq id of customer | |
p_persoon | integer | Custom id assigned by School | |
club_id | integer | Reserved for future, blank now | |
members_name | string | First name | |
members_interjection | string | Interjection | |
club_card_nr_qrcode | string | Club card QR-code | |
club_card_nr | string | Card number assigned to client | |
members_lastname | string | Last name | |
members_sex | string | M or F | |
birthday | date | YYYY-DD-MM format | |
bank_account | string | Bank account | |
bank_bic | string | Bank bic | |
members_address | string | Address | |
country | string | Country | |
province | string | Province | |
members_zipcode | string | Zipcode | |
members_city | string | City | |
members_phone | string | Phone | |
members_mob_phone | string | Mobile phone | |
members_email | string | ||
personal_coach | string | Personal coach | |
brought_by | string | Brought by | |
campaign | string | Campaign | |
instelnr | string | Instelnr | |
school_name | string | School | |
vestcode | string | Vestcode | |
vestiging | string | Vestiging | |
department | string | Afdeling | |
depcode | string | Afdcode | |
department_year | string | Afdelingsjaar | |
class_name | string | Klas | |
class_number | string | Klasnr | |
degree | string | Graad | |
learn_year | integer | Leerjaar | |
begin_date | date | Begindatum (YYYY-MM-DD) | |
end_date | date | Einddatum (YYYY-MM-DD) | |
stop_date | date | Uitgeschreven (YYYY-MM-DD) | |
labels | string | Client labels assigned by club, comma separated | |
entered | string | Entered by | |
client_photo | string | Url to image (max 100px size) | |
sales | string | Sales person | |
club_card_amount | double | Amount stored on club_card | |
smsSent | integer | sms sent 1 or 0 | |
smsLastSent | date | smsLastSent date, YYYY-MM-DD format |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_client_by' constant | ||
key | string | Security key | ||
params[client_id] | integer | true | User database ID, not 'Custom ID assigned by club' |
Naam | Type | Omschrijving | |
---|---|---|---|
json_code | integer | Constant value: 6 | |
member_number | string | Custom id assigned by club | |
client_name | string | First name | |
client_interjection | string | Interjection | |
client_lastname | string | Last name | |
client_sex | string | M or F | |
client_birthday | date | YYYY-DD-MM format | |
client_email | string | ||
client_minutes | double | In development, always return 0.0 now | |
client_address | string | Client address | |
client_country | string | Client country | |
client_province | string | Province | |
client_client_zipcode | string | Zipcode | |
client_city | string | City | |
client_phone | string | Phone | |
client_mob_phone | string | Mobile | |
client_club_card_amount | string | Amount left on club card | |
client_photo | string | Url to image (max 100px size) | |
personal_coach | string | Personal coach name | |
brought_by | string | Brought by | |
campaign | string | Campaign | |
labels | string | Client labels assigned by club, comma separated | |
entered | string | Entered by | |
sales | string | Sales person | |
smsSent | integer | sms sent 1 or 0 | |
smsLastSent | date | smsLastSent date, YYYY-MM-DD format | |
comment | string | General comment | |
client_inscription | hash |
{
index: { }inscr_visitdone: integer }inscr_stop_date: date inscr_maxvisit: integer inscrtype_id: integer inscr_last_visit: date inscrtype_type: integer inscrtype_name: string inscr_enddate: date inscr_startdate: date |
Client inscription data hash |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'login' constant | ||
key | string | Security key | ||
params[username] | string | true | Login | |
params[password] | string | true | Password |
Naam | Type | Omschrijving | |
---|---|---|---|
client_id | integer | Unique ID |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
params[name] | string | true | First name | |
params[interjection] | string | true | Interjection | |
params[lastname] | string | Last name | ||
params[members_gender] | boolean | Gender | M, F | |
params[birthdate] | date | Birthdate, DD/MM/YYYY format | ||
params[address] | string | Address | ||
params[zipcode] | string | ZIP | ||
params[city] | string | City | ||
params[phone] | string | Phone number | ||
params[bank_account] | string | Bank account | ||
params[mobile_phone] | string | Mobile phone number | ||
params[comment] | string | General comment | ||
params[email] | string | |||
params[password] | string | Password | ||
params[password] | string | Password confirmation | ||
params[country_id] | integer | Country id, 159 for Netherlands, 20 for Belgium | ||
params[club_id] | integer | Outlet id from get_clubs command | ||
params[club_card_nr_qrcode] | string | Club card QR-code | ||
params[club_card_nr] | string | Club card code | ||
params[member_number] | integer | Auto generated if blank | ||
params[retention_labels] | array | ID's of labels from 'get_labels' command | ||
params[as_client] | integer | 1 to mark user as valid client |
Naam | Type | Omschrijving | |
---|---|---|---|
json_code | integer | Constant value: 29 | |
client_id | integer | Client unique ID | |
client_number | integer | Client number | |
username | string | Username | |
password | string | Password |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
params[lesson_id] | integer | true | Lesson id | |
params[country_id] | integer | Country id, 159 for Netherlands, 20 for Belgium | ||
params[club_id] | integer | Outlet id from get_clubs command | ||
params[p_persoon] | integer | Auto generated if blank | ||
params[name] | string | true | First name | |
params[lastname] | string | Last name | ||
params[phone] | string | Phone number | ||
params[mobile_phone] | string | Mobile phone number | ||
params[address] | string | Address | ||
params[zipcode] | string | ZIP | ||
params[city] | string | City | ||
params[members_gender] | boolean | Gender | M, F | |
params[birthdate] | date | Birthdate, DD/MM/YYYY format | ||
params[email] | string | |||
params[start_date] | date | Start date, DD/MM/YYYY format |
Naam | Type | Omschrijving | |
---|---|---|---|
json_code | integer | Constant value: 33 | |
client_id | integer | Client unique ID | |
reservation_id | integer | Reservation id added by the call | |
password | string | Password |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_client_fin_info' constant | ||
key | string | Security key | ||
params[field] | string | true | One of the values: id, member_number, club_card_nr, club_card_nr_qrcode | id, member_number, club_card_nr, club_card_nr_qrcode |
params[value] | string | true | Value of field |
Naam | Type | Omschrijving | |
---|---|---|---|
invocies | hash |
{
index: { }pdf_url: string }payment_reference: string due_date: date title: string pay_url: string price: float date: date |
Invocies data hash |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'add_new_student' constant | ||
key | string | Security key | ||
params[name] | string | true | First name | |
params[interjection] | string | true | Interjection | |
params[lastname] | string | Last name | ||
params[members_gender] | boolean | Gender | M, F | |
params[birthdate] | date | Birthdate, DD/MM/YYYY format | ||
params[address] | string | Address | ||
params[zipcode] | string | ZIP | ||
params[city] | string | City | ||
params[phone] | string | Phone number | ||
params[bank_account] | string | Bank account | ||
params[bank_bic] | string | Bank bic | ||
params[mobile_phone] | string | Mobile phone number | ||
params[comment] | string | General comment | ||
params[email] | string | |||
params[password] | string | Password | ||
params[password] | string | Password confirmation | ||
params[country_id] | integer | Country id, 159 for Netherlands, 20 for Belgium | ||
params[club_id] | integer | Outlet id from get_clubs command | ||
params[club_card_nr_qrcode] | string | Club card QR-code | ||
params[club_card_nr] | string | Club card code | ||
params[p_persoon] | integer | Auto generated if blank | ||
params[instelnr] | string | Instelnr | ||
params[school_name] | string | School | ||
params[vestcode] | string | Vestcode | ||
params[vestiging] | string | Vestiging | ||
params[department] | string | Afdeling | ||
params[depcode] | string | Afdcode | ||
params[department_year] | string | Afdelingsjaar | ||
params[class_name] | string | Klas | ||
params[class_number] | string | Klasnr | ||
params[degree] | string | Graad | ||
params[learn_year] | integer | Leerjaar | ||
params[begin_date] | date | Begindatum (YYYY-MM-DD) | ||
params[end_date] | date | Einddatum (YYYY-MM-DD) | ||
params[retention_labels] | array | ID's of labels from 'get_labels' command | ||
params[as_client] | integer | 1 to mark user as valid client |
Naam | Type | Omschrijving | |
---|---|---|---|
json_code | integer | Constant value: 31 | |
client_id | integer | Client unique ID | |
client_number | integer | Client number | |
username | string | Username | |
password | string | Password |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'update_student_information' constant | ||
key | string | Security key | ||
params[field] | string | true | One of the values: member_number, club_card_nr, club_card_nr_qrcode | member_number, club_card_nr, club_card_nr_qrcode |
params[value] | string | true | Value of field | |
params[name] | string | true | First name | |
params[interjection] | string | true | Interjection | |
params[lastname] | string | Last name | ||
params[members_gender] | boolean | Gender | M, F | |
params[birthdate] | date | Birthdate, DD/MM/YYYY format | ||
params[address] | string | Address | ||
params[zipcode] | string | ZIP | ||
params[city] | string | City | ||
params[country_id] | integer | Country id, 159 for Netherlands, 20 for Belgium | ||
params[club_id] | integer | Outlet id from get_clubs command | ||
params[phone] | string | Phone number | ||
params[bank_account] | string | Bank account | ||
params[bank_bic] | string | Bank bic | ||
params[mobile_phone] | string | Mobile phone number | ||
params[comment] | string | General comment | ||
params[email] | string | |||
params[instelnr] | string | Instelnr | ||
params[vestcode] | string | Vestcode | ||
params[vestiging] | string | Vestiging | ||
params[department] | string | Afdeling | ||
params[depcode] | string | Afdcode | ||
params[department_year] | string | Afdelingsjaar | ||
params[class_name] | string | Klas | ||
params[class_number] | string | Klasnr | ||
params[degree] | string | Graad | ||
params[begin_date] | date | Begindatum (YYYY-MM-DD) | ||
params[end_date] | date | Einddatum (YYYY-MM-DD) | ||
params[stop_date] | date | Uitgeschreven (YYYY-MM-DD) | ||
params[smsSent] | boolean | sms sent | 0, 1 | |
params[smsLastSent] | date | smsLastSent date (YYYY-MM-DD) | ||
params[school_name] | string | School | ||
params[learn_year] | integer | Leerjaar | ||
params[retention_labels] | array | ID's of labels from 'get_labels' command |
Naam | Type | Omschrijving | |
---|---|---|---|
json_code | integer | Constant value: 32 | |
client_number | integer | Client number |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_student_sales' constant | ||
key | string | Security key | ||
params[field] | string | true | One of the values: member_number, club_card_nr, club_card_nr_qrcode | member_number, club_card_nr, club_card_nr_qrcode |
params[value] | string | true | Value of field |
Naam | Type | Omschrijving | |
---|---|---|---|
products | hash |
{
index: { }code: string }payment_reference: string title: string price: double date: date |
Products data hash |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_student_information_query' constant | ||
key | string | Security key | ||
params[instelnr] | string | Filter students by Instelnr | ||
params[school_name] | string | Filter students by School | ||
params[vestcode] | string | Filter students by Vestcode | ||
params[vestiging] | string | Filter students by Vestiging | ||
params[department] | string | Filter students by Afdeling | ||
params[depcode] | string | Filter students by Afdcode | ||
params[department_year] | string | Filter students by Afdelingsjaar | ||
params[class_name] | string | Filter students by Klas | ||
params[class_number] | string | Filter students by Klasnr | ||
params[degree] | string | Filter students by Graad | ||
params[learn_year] | integer | Filter students by Leerjaar | ||
params[begin_date] | date | Filter students by Begindatum (YYYY-MM-DD) | ||
params[end_date] | date | Filter students by Einddatum (YYYY-MM-DD) | ||
params[stop_date] | date | Filter students by Uitgeschreven (YYYY-MM-DD) | ||
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
p_persoon | string | Custom id assigned by School | |
club_card_nr_qrcode | string | Club card QR-code | |
club_card_nr | string | Card number assigned to client | |
student_id | integer | Uniq id of student | |
student_name | string | First name | |
student_interjection | string | Interjection | |
student_lastname | string | Last name | |
student_gender | string | M or F | |
birthday | date | YYYY-DD-MM format | |
bank_account | string | Bank account | |
bank_bic | string | Bank bic | |
student_address | string | Address | |
country | string | Country | |
student_zipcode | string | Zipcode | |
student_city | string | City | |
student_phone | string | Phone | |
student_mob_phone | string | Mobile phone | |
student_email | string | ||
personal_coach | string | Personal coach | |
brought_by | string | Brought by | |
campaign | string | Campaign | |
instelnr | string | Instelnr | |
school_name | string | School | |
vestcode | string | Vestcode | |
vestiging | string | Vestiging | |
department | string | Afdeling | |
depcode | string | Afdcode | |
department_year | string | Afdelingsjaar | |
class_name | string | Klas | |
class_number | string | Klasnr | |
degree | string | Graad | |
learn_year | integer | Leerjaar | |
begin_date | date | Begindatum (YYYY-MM-DD) | |
end_date | date | Einddatum (YYYY-MM-DD) | |
stop_date | date | Uitgeschreven (YYYY-MM-DD) | |
labels | string | Client labels assigned by club, comma separated | |
entered | string | Entered by | |
client_photo | string | Url to image (max 100px size) | |
sales | string | Sales person | |
club_card_amount | double | Amount stored on club_card | |
current_page | integer | Page number that was requested | |
total_pages | integer | Total number of pages for request | |
users | hash | Users data hash |
Naam | Type | Omschrijving | |
---|---|---|---|
blocks | hash |
{
index: { }id: integer }title: string fields: hash { index: { }id: integer }is_required: boolean values: string type_id: integer Title: string |
Blocks |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
params[user_id] | integer | true | User ID from clients_list | |
params[block_id] | integer | true | Block ID from custom_blocks command | |
params[fields] | hash | true | Hash of values, key is ID of field from custom_blocks, value is actual value to store |
Naam | Type | Omschrijving | |
---|---|---|---|
saved | integer | Count of saved records |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
params[user_id] | integer | true | User ID from clients_list | |
params[block_id] | integer | true | Block ID from custom_blocks command |
Naam | Type | Omschrijving | |
---|---|---|---|
data | hash |
{
index: { }index: string } |
Data |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_user_segments' constant | ||
key | string | Security key |
Naam | Type | Omschrijving | |
---|---|---|---|
user_segments | hash |
{
id: { }outlet: hash }title: string |
Advanced search templates |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_service_category' constant | ||
key | string | Security key | ||
params[segment_id] | integer | true | Service category database ID | |
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
user_id | integer | Uniq id of user | |
member_number | string | Custom id assigned (member number) | |
user_name | string | First name | |
user_interjection | string | Interjection | |
user_lastname | string | Last name | |
user_gender | string | M or F | |
birthday | date | YYYY-DD-MM format | |
user_address | string | Address | |
country | string | Country | |
user_zipcode | string | Zipcode | |
user_city | string | City | |
user_phone | string | Phone | |
user_mob_phone | string | Mobile phone | |
user_email | string | ||
users | hash | Users data hash |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
params[club_id] | integer | Club id, not implemented, now all mailings/sms groups is global | ||
params[SMSGroups] | boolean | Sms group, 0 - get mailing groups, 1 - get sms groups | ||
params[group] | integer | Group id, return all or specific group by id | ||
params[suppress_details] | boolean | Suppress details, 0 - get users in groups, 1 - only name and id of groups returned |
Naam | Type | Omschrijving | |
---|---|---|---|
groups | hash |
{
index: { }group_values: hash }{ group_name: stringindex: { }username: string }password: string mailing_name: string mailing_lastname: string members_mob_phone: string mailing_interjection: string mailing_email: string group_id: integer |
Groups |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_sales_invoices' constant | ||
key | string | Security key | ||
params[field] | string | true | One of the values: id, member_number, club_card_nr, club_card_nr_qrcode | id, member_number, club_card_nr, club_card_nr_qrcode |
params[value] | string | true | Value of field |
Naam | Type | Omschrijving | |
---|---|---|---|
invoices | hash |
{
index: { }pdf_url: string }code: string id: integer payment_reference: string due_date: date price: double date: date payments: hash { type_id: integerindex: { }amount: double }payment_method: string at: datetime paid: double |
Invoices data hash |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_invoice' constant | ||
key | string | Security key | ||
params[invoice_id] | integer | true | Invoice database ID |
Naam | Type | Omschrijving | |
---|---|---|---|
invoice | hash |
{
id: { }pdf_url: string }code: string payment_reference: string due_date: date vat_total: double discount_total: double total_price: double vat_deductible_total: double price: double date: date payments: hash { type_id: integerindex: { }amount: double }payment_method: string at: datetime products: array [ paid: double{ ]vat: double }vat_price: double discount_fixed: double quantity: double line_number: integer bookkeeping_tax: hash vat_deductible: double summable_discount: double description: string custom_product_name: string excl_vat_price: double bookkeeping_type_cost: hash bookkeeping_diary: hash discount_percent: double product: hash price: double bookkeeping_cost_center: hash bookkeeping_number: hash |
Invoice details |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_payments' constant | ||
key | string | Security key | ||
params[payment_method_type_id] | integer | true | Payment method type, 1 = Cash, 2 = Bank, 3 = PIN, 10 = Online | 1, 2, 3, 10 |
data_from | string | Start data('yyyy-mm-dd') of period | ||
data_to | string | End data('yyyy-mm-dd') of period | ||
by_terminal | string | Select payment payd by terminal. Only for PIN. |
Naam | Type | Omschrijving | |
---|---|---|---|
payments | hash | Payments data hash |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_payments' constant | ||
key | string | Security key | ||
params[payment_method_type_id] | integer | true | Payment method type, 1 = Cash, 2 = Bank, 3 = PIN, 10 = Online | 1, 2, 3, 10 |
data_from | string | Start data('yyyy-mm-dd') of period | ||
data_to | string | End data('yyyy-mm-dd') of period | ||
by_terminal | string | Select payment payd by terminal. Only for PIN. |
Naam | Type | Omschrijving | |
---|---|---|---|
payments | hash | Payments data hash |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'buy_product_from_club_card' constant | ||
key | string | Security key | ||
params[client_id] | integer | true | User database ID, not 'Custom ID assigned by club' | |
params[product_id] | integer | true | Product database ID | |
params[quantity] | integer | true | Quantity of products to sell | |
params[amount] | double | true | Total amount in format 123.45 |
Naam | Type | Omschrijving | |
---|---|---|---|
json_code | integer | Constant value: 6 | |
old_club_card_amount | double | Amount on club card before sale | |
club_card_amount | double | Amount on club card after sale |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_products' constant | ||
key | string | Security key |
Naam | Type | Omschrijving | |
---|---|---|---|
products | hash |
{
index: { }priceinclvat: double }priceexclvat: double title: string category_id: integer descr: string vatpercent: double articleno: string prod_id: integer destroyed: boolean |
Products data hash |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_product_categories' constant | ||
key | string | Security key |
Naam | Type | Omschrijving | |
---|---|---|---|
categories | hash |
{
index: { }title: string }category_id: integer |
Categories data hash |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_service_categories' constant | ||
key | string | Security key |
Naam | Type | Omschrijving | |
---|---|---|---|
categories | hash |
{
index: { }title: string }category_id: integer |
Service categories data hash |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_service_category' constant | ||
key | string | Security key | ||
params[category_id] | integer | true | Service category database ID |
Naam | Type | Omschrijving | |
---|---|---|---|
category | hash |
{
id: { }show_on_site: boolean }staffs: array order_idx: integer color: string outlet: string title: string parent: hash department: hash show_in_pos: boolean logo: string |
Service categoriy data hash |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_services' constant | ||
key | string | Security key |
Naam | Type | Omschrijving | |
---|---|---|---|
count | integer | Total count of services | |
services | hash |
{
id: { }title: string }order_idx: integer |
Services data hash |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_service' constant | ||
key | string | Security key | ||
params[service_id] | integer | true | Service database ID |
Naam | Type | Omschrijving | |
---|---|---|---|
service | hash |
{
id: { }service_after: hash }category: hash staffs: array prepayment_percent: double service_type: string in_pos: boolean color_in_pos: string order_idx: integer service_before: hash article_number: integer service_duration: integer selling_total_price_rounded: double is_show_online: boolean barcode: string outlets: array |
Services data hash |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'products' constant | ||
key | string | Security key | ||
params[in_stock] | boolean | Get products in stock^ 1 - in stock | ||
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
total_count | integer | Total users count | |
current_page | integer | Page number that was requested | |
total_pages | integer | Total number of pages for request | |
products | hash |
{
id: { }vat: double }title: string pos_ids: array price: double outlet_ids: array |
Products data hash |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_labels' constant | ||
key | string | Security key |
Naam | Type | Omschrijving | |
---|---|---|---|
labels | hash |
{
index: { }label_id: integer }title: string allowed_minus: double max_per_day: double |
Labels data hash |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_labels' constant | ||
key | string | Security key |
Naam | Type | Omschrijving | |
---|---|---|---|
company_labels | hash |
{
index: { }label_id: integer }color: string title: string |
Company Labels data hash |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'req_activity_groups' constant | ||
key | string | Security key |
Naam | Type | Omschrijving | |
---|---|---|---|
groups | hash |
{
index: { }event: string }group_name: string group_id: string |
Group types data hash |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'req_activity_group_details' constant | ||
key | string | Security key | ||
params[date] | date | Date | ||
params[group_id] | integer | Activity group type ID | ||
params[club_id] | integer | Outlet id from get_clubs command |
Naam | Type | Omschrijving | |
---|---|---|---|
json_code | integer | Constant value: 2 | |
activities | hash |
{
index: { }end_time: time }schedule: hash { description: stringindex: { }id: integer }start: time available: integer waitlist_size: integer staff_name: string staff_id: integer activity_id: integer start_time: time ext_description: string activity_id_name: string capacity: integer |
Activities data hash |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
params[count] | integer | Сount reservations | ||
params[client_id] | integer | true | Client ID | |
params[date_time] | date | true | Date time, dd/mm/yyyy HH:MM:SS | |
params[activity_id] | integer | true | Activity ID |
Naam | Type | Omschrijving | |
---|---|---|---|
json_code | integer | Constant value: 4 |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
params[count] | integer | Сount reservations | ||
params[client_id] | integer | true | Client ID | |
params[date_time] | date | true | Date | |
params[activity_id] | integer | true | Activity ID |
Naam | Type | Omschrijving | |
---|---|---|---|
json_code | integer | Constant value: 4 |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
params[client_id] | integer | true | Client ID | |
params[start_date] | date | true | Start date | |
params[end_date] | date | true | End date |
Naam | Type | Omschrijving | |
---|---|---|---|
activities | hash |
{
index: { }status: string }activity_id: integer activity_id_name: string price: string start: time date: date count: string |
Activities data hash |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
params[client_id] | integer | true | Client ID | |
params[date_time] | date | true | Date | |
params[activity_id] | integer | true | Activity ID |
Naam | Type | Omschrijving | |
---|---|---|---|
json_code | integer | Constant value: 37 |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
params[date_time] | date | true | Date time, dd/mm/yyyy HH:MM:SS | |
params[activity_id] | integer | true | Activity ID |
Naam | Type | Omschrijving | |
---|---|---|---|
reservations | hash |
{
index: { }id: integer }user_id: integer |
Reservations data hash |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_reservation_groups' constant | ||
key | string | Security key |
Naam | Type | Omschrijving | |
---|---|---|---|
reservation_groups | hash |
{
id: { }title: string } |
Reservation group, id and title |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_reservation_group' constant | ||
key | string | Security key | ||
params[group_id] | integer | true | Reservation group database ID |
Naam | Type | Omschrijving | |
---|---|---|---|
reservation_group | hash |
{
id: { }max_trial_lesson_limit: integer }waiting_list: array users: array date_time: string max_waiting_list_capacity: integer title: string activity_type: string max_capacity: integer activity_title: string clear_user_list: array capacity_taken: integer by_gender: string avg_age: integer booked_until: string |
Reservation group details |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
params[date_time] | date | true | Date time, dd/mm/yyyy HH:MM:SS | |
params[activity_id] | integer | true | Activity ID |
Naam | Type | Omschrijving | |
---|---|---|---|
waitlist | hash |
{
index: { }id: integer }user_name: string user_id: integer |
waitlist data hash |
activity_title | string | Activity title |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
params[waitlist_id] | integer | true | Waitlist ID from 'get_waitlist' |
Naam | Type | Omschrijving | |
---|---|---|---|
status | boolean | Is operation done | |
message | string | Text explanation of error/success result |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
params[sub_type_id] | integer | 0 - Activity, 1 - Event, 2 - Workshop | ||
params[staff_id] | integer | ID of staff from 'clients_list' | ||
params[club_id] | integer | Club ID of staff from 'get_clubs' |
Naam | Type | Omschrijving | |
---|---|---|---|
shedule | hash |
{
index: { }shedule: hash }{ with_membership_price: doubleindex: { }weekday: integer }end: time start: time club_id: integer is_active: boolean enddate: date staff_id: integer activity_id: integer activity_id_name: string startdate: date group_id: integer sub_type_id: integer no_membership_price: double |
Shedule |
Naam | Type | Omschrijving | |
---|---|---|---|
holidays | hash | Holidays |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
params[client_id] | integer | true | Client ID | |
params[start_date] | date | true | Start date | |
params[weeks] | string | true | Weeks of stopperiod |
Naam | Type | Omschrijving | |
---|---|---|---|
json_code | integer | Constant value: 25 |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
params[client_id] | integer | true | Client ID |
Naam | Type | Omschrijving | |
---|---|---|---|
stopperiods | hash |
{
index: { }reason: string }end_date: date start_date: date |
Stopperiods data hash |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
params[client_id] | integer | true | Client ID | |
params[start_date] | date | true | Start date YYYY-MM-DD format |
Naam | Type | Omschrijving | |
---|---|---|---|
json_code | integer | Constant value: 37 |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'inscrtypes_list_online' constant | ||
key | string | Security key | ||
params[club_id] | integer | Club ID of staff from 'get_clubs' |
Naam | Type | Omschrijving | |
---|---|---|---|
inscrtypes | hash |
{
index: { }id: integer }price_start_one: hash name: string is_active: boolean free_period_membership_id: integer description: string have_custom_link_of_activities: boolean type: integer online_discount_description: string is_show_in_reports: bool period_title: string price: double start_from_first_of_month: boolean price_two: hash auto_renew: boolean price_start_two: hash payment_period_title: string price_one: hash |
Memberships data hash |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'inscrtype_activities' constant | ||
key | string | Security key | ||
params[inscription_id] | integer | true | Unique ID of inscription period |
Naam | Type | Omschrijving | |
---|---|---|---|
inscrtype_activities | hash |
{
index: { }free_period_membership_id: integer }description: string online_discount_description: string |
Activities data hash |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
params[client_id] | integer | true | Client ID | |
params[inscription_id] | integer | true | Unique ID of inscription period | |
params[start_date] | date | true | Start date YYYY-MM-DD format | |
params[discount_percent] | double | Discount percent - leading | ||
params[discount_money] | double | Discount money | ||
params[prepaid_amount] | double | Prepaid amount | ||
params[payment_method] | integer | Payment method, where 1 = Cash, 2 = Bank, 5 = SEPA, 10 = Online | 1, 2, 5, 10 |
Naam | Type | Omschrijving | |
---|---|---|---|
json_code | integer | Constant value: 30 | |
client_id | integer | Unique ID of user | |
inscription_id | integer | Unique ID of inscription period | |
to_pay | double | Invoice unpaid amount | |
total | double | Total price |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_clubs' constant | ||
key | string | Security key |
Naam | Type | Omschrijving | |
---|---|---|---|
clubs | hash |
{
id: { }title: string } |
Outlets, id and title |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_club_info' constant | ||
key | string | Security key | ||
params[outlet_id] | integer | true | Club database ID |
Naam | Type | Omschrijving | |
---|---|---|---|
clubs | hash |
{
id: { }city: string }country: string physical_house_nr: string email: string iban: string latitude: string language: string physical_address: string pwa_logo: string title: string phone: string zip: string facebook_url: string business_bank_code: string instragram_url: string vat_nr: string fax: string longitude: string physical_house_nr_two: string website: string short_title: string kvk: string logo: string |
Info for Outlet |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_staffs' constant | ||
key | string | Security key | ||
params[club_id] | integer | Club id from get_clubs command | ||
params[access] | string | Put 'access' to get all people who linked to club id | access, admin | |
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
total_count | integer | Total users count | |
current_page | integer | Page number that was requested | |
total_pages | integer | Total number of pages for request | |
staffs | hash |
{
id: { }barcode_card: string }email: string id: integer photo: string glan_card: string title: string insurance_number: string club_card: string member_number: string tax_credit: date bsn_number: string rfid_card: string sex: string agreement_type_title: string date_service: date qrcode_card: string lastname: string agreement_commission_amount: double commission_vat_person: double interjection: string agreement_subtype_title: string color_mark: string |
Staffs, id and title |
Naam | Type | Omschrijving | |
---|---|---|---|
clubs | hash |
{
id: { }id: integer }title: string poses: hash { id: { }id: integer }title: string |
Outlets info |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_departments' constant | ||
key | string | Security key |
Naam | Type | Omschrijving | |
---|---|---|---|
departments | hash |
{
id: { }title: string } |
Departments, id and title |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_retention_goals' constant | ||
key | string | Security key | ||
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
retention_goals | hash |
{
id: { }coaching_target: hash }title: string description: string retention_activities: array average_visit_frequency: double |
Retention goals, id and title |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_task_types' constant | ||
key | string | Security key |
Naam | Type | Omschrijving | |
---|---|---|---|
task_types | hash |
{
id: { }title: string } |
Task types, id and title |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_task_type' constant | ||
key | string | Security key | ||
params[task_id] | integer | true | Task type database ID |
Naam | Type | Omschrijving | |
---|---|---|---|
task_type | hash |
{
id: { }reminder_min: integer }color: string is_show_in_retention_manager: boolean title: string is_schow_in_coaching: boolean department: hash is_schow_in_lead_manager: boolean |
Task type details |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_retention_activities' constant | ||
key | string | Security key | ||
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
total_count | integer | Total users count | |
current_page | integer | Page number that was requested | |
total_pages | integer | Total number of pages for request | |
retention_activities | hash |
{
id: { }title: string } |
Retention activities data hash |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_retention_activities' constant | ||
key | string | Security key | ||
params[retention_activity_id] | integer | true | Retention activity ID |
Naam | Type | Omschrijving | |
---|---|---|---|
retention_activity | hash |
{
id: { }is_no_show_in_customer_satisfaction: boolean }retention_activity_follow_ups: array is_startable: boolean is_active: boolean is_no_confirmation_required: boolean duration: integer public_title: string full_description: string title: string retention_goals: array is_no_show_in_reports: boolean is_no_send_reminder: boolean is_no_show_in_continuation: boolean capacity: integer |
Task type details |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_planning' constant | ||
key | string | Security key | ||
params[staff_id] | integer | Staff ID | ||
params[from] | string | Date from 'YYYY-mm-dd'. Default is the beginning of the current month if no date is specified) | ||
params[until] | string | Date until YYYY-mm-dd'. Default is the end of the current year if no date is specified) | ||
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
planning | hash |
{
id: { }color: string }work_time: string date_until: date date_from: date description: hash |
Planning |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_planning' constant | ||
key | string | Security key | ||
params[planning_id] | integer | true | Planning ID |
Naam | Type | Omschrijving | |
---|---|---|---|
planning | hash |
{
id: { }location: hash }weekday_name: array color: string work_time: string date_until: date date_from: date description: hash date: date day_part: string status_title: string department: hash hours: integer |
Staff planning details |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_leave' constant | ||
key | string | Security key | ||
params[staff_id] | integer | Staff ID | ||
params[status_id] | integer | Status ID (Pending: 0, Scheduled: 1, Taken: 2, Rejected: 3, Cancelled: 4) | 0, 1, 2, 3, 4 | |
params[from] | string | Date from 'YYYY-mm-dd'. Default is the beginning of the current month if no date is specified) | ||
params[until] | string | Date until YYYY-mm-dd'. Default is the end of the current year if no date is specified) | ||
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
leave | hash |
{
id: { }status: string }comment: string date_until: date date_from: date staff: hash |
Leave |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_absence' constant | ||
key | string | Security key | ||
params[staff_id] | integer | Staff ID | ||
params[status_id] | integer | Status ID (Pending: 0, Scheduled: 1, Taken: 2, Rejected: 3, Cancelled: 4) | 0, 1, 2, 3, 4 | |
params[from] | string | Date from 'YYYY-mm-dd'. Default is the beginning of the current month if no date is specified) | ||
params[until] | string | Date until YYYY-mm-dd'. Default is the end of the current year if no date is specified) | ||
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
absence | hash |
{
id: { }status: string }comment: string date_until: date date_from: date staff: hash |
Absence |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_locations' constant | ||
key | string | Security key | ||
params[outlet_id] | integer | true | Club database ID | |
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
locations | hash |
{
id: { }latitude: string }house_nr_two: string color: string order_idx: integer title: string outlet: hash zip: string resource_type: hash longitude: string address: string house_nr: string |
Locations |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_branding' constant | ||
key | string | Security key |
Naam | Type | Omschrijving | |
---|---|---|---|
branding | hash |
{
id: { }action_buttons_background_color: string }theme_color: string second_tiles_color: string tiles_color: string content_background_image: string icon: string action_buttons_text_color: string logo: string |
Locations |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
params[date] | date | true | Date YYYY-MM-DD format | |
params[club_id] | integer | true | Club ID |
Naam | Type | Omschrijving | |
---|---|---|---|
visits | hash |
{
index: { }date_time: date }client_id: integer |
Visits |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
params[time] | DateTime | true | DateTime YYYY-MM-DD hh:mm format. 30 min ago be default | |
params[club_id] | integer | Club ID | ||
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
visits | hash |
{
index: { }date_time: date }client_id: integer membership_info: hash activities: array |
Visits |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
params[visits] | array | true | Array of hash values, in hash - keys are 'user_id' or 'member_number' and 'at', where at is time field in YYYY-MM-DD HH:MM:SS format | |
params[user_id] | string | User id | ||
params[member_number] | integer | Member number | ||
params[qr_code] | string | If special QR-codes option is ON | ||
params[member_number] | integer | Member number |
Naam | Type | Omschrijving | |
---|---|---|---|
saved | integer | Count of saved records | |
saved | integer | Count of saved records | |
errors | array | Errors of not saved records |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_inscription_invoice_date' constant | ||
key | string | Security key | ||
params[inscription_id] | integer | Inscription ID | ||
params[date] | date | Inscription start date, YYYY-DD-MM format |
Naam | Type | Omschrijving | |
---|---|---|---|
total | float | Total price to be paid by client | |
pro_rata | float | Price per period, discount is applied for this | |
start_fee | float | Membership start fee | |
period_price | float | Total pro rata price to be paid by client for all period |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_inscription_invoice_date' constant | ||
key | string | Security key | ||
params[inscription_id] | integer | Inscription ID | ||
params[start_date] | date | Inscription start date, YYYY-DD-MM format | ||
params[name] | string | true | First name | |
params[interjection] | string | true | Interjection | |
params[lastname] | string | Last name | ||
params[members_gender] | boolean | Gender | M, F | |
params[birthdate] | date | Birthdate, DD/MM/YYYY format | ||
params[address] | string | Address | ||
params[zipcode] | string | ZIP | ||
params[city] | string | City | ||
params[phone] | string | Phone number | ||
params[bank_account] | string | Bank account | ||
params[bank_bic] | string | Bank bic | ||
params[mobile_phone] | string | Mobile phone number | ||
params[comment] | string | General comment | ||
params[email] | string | |||
params[password] | string | Password | ||
params[password] | string | Password confirmation | ||
params[country_id] | integer | Country id, 159 for Netherlands, 20 for Belgium | ||
params[club_id] | integer | Outlet id from get_clubs command | ||
params[club_card_nr_qrcode] | string | Club card QR-code | ||
params[club_card_nr] | string | Club card code | ||
params[p_persoon] | integer | Auto generated if blank | ||
params[instelnr] | string | Instelnr | ||
params[school_name] | string | School | ||
params[vestcode] | string | Vestcode | ||
params[vestiging] | string | Vestiging | ||
params[department] | string | Afdeling | ||
params[depcode] | string | Afdcode | ||
params[department_year] | string | Afdelingsjaar | ||
params[class_name] | string | Klas | ||
params[class_number] | string | Klasnr | ||
params[degree] | string | Graad | ||
params[learn_year] | integer | Leerjaar | ||
params[begin_date] | date | Begindatum (YYYY-MM-DD) | ||
params[end_date] | date | Einddatum (YYYY-MM-DD) | ||
params[payment_method_id] | integer | true | Payment method type, 1 = Cash, 2 = Bank, 3 = PIN, 10 = Online | 1, 2, 3, 10 |
Naam | Type | Omschrijving | |
---|---|---|---|
json_code | integer | Constant value 30 | |
client_id | integer | Client internal id | |
inscription_id | integer | Inscription ID that was sold | |
payment_reference_one | string | Invoice reference number for first period | |
period_one | float | Total price for first period | |
payment_reference_two | string | Invoice reference number for next period, blank if no next period | |
period_two | float | Total price for first period, blank if no next period |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_menu_types' constant | ||
key | string | Security key | ||
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
menu_types | hash |
{
id: { }title: string } |
Nutrition menu types |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_nutrition_master_group_foods' constant | ||
key | string | Security key | ||
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
master_group_foods | hash |
{
id: { }source_title: string }title: string |
Nutrition master group_foods |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_nutrition_food_groups' constant | ||
key | string | Security key | ||
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
group_foods | hash |
{
id: { }source_title: string }title: string |
Nutrition food groups |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_nutrition_foods' constant | ||
key | string | Security key | ||
params[master_food_group_id] | integer | master food group ID | ||
params[food_group_id] | integer | Food group ID | ||
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
nutrition_foods | hash |
{
id: { }fatt: double }kcal: double source_title: string title: string carb: double weight: string quan: double use_mult: boolean nutrition_food_group: hash prot: double gr: integer image_path: string group: integer nutrition_master_food_group: hash |
Nutrition foods list |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_nutrition_menu_list' constant | ||
key | string | Security key | ||
params[nutrition_menutype_id] | integer | nutrition menutype ID | ||
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
menu_list | hash |
{
id: { }number: integer }type_idx: integer source_title: string title: string cal_group: integer nutrition_menu_type: hash day_idx: integer |
Nutrition foods list |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_coaching_exercises' constant | ||
key | string | Security key | ||
params[image_set] | integer | Image type: 1 - 3D ; 2 - Pictures ; 3 - Video's ; | 1, 2, 3 | |
params[region_id] | integer | region ID | ||
params[materials] | integer | Material ID | ||
params[type] | integer | Exercise type (see 'get_exercise_types') | ||
params[source] | integer | Source IDx: 1 - CTRL+ ; 2 - Club; 3 - Favorites | 1, 2, 3 | |
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
coaching_exercises | hash |
{
id: { }coaching_materials: array }coaching_exercise_regions: array source_title: string title: string image_set_title: hash exercise_type: hash |
Nutrition foods list |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_coaching_exercise' constant | ||
key | string | Security key | ||
params[exercise_id] | integer | true | Exercise database ID |
Naam | Type | Omschrijving | |
---|---|---|---|
exercise | hash |
{
id: { }coaching_materials: array }set_types_title: string coaching_exercise_regions: array video_url: string source_title: string description: string title: string standard_parameters: hash { image_set: hashorder_idx: { }value_2: hash }value_1: hash unit: hash type_title: string images: array |
Coaching exercise details |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_exercise_muslce_regions' constant | ||
key | string | Security key | ||
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
exercise_regions | hash |
{
id: { }title: string } |
Exercise region list |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_exercise_materials' constant | ||
key | string | Security key | ||
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
exercise_materials | hash |
{
id: { }title: string } |
Exercise materials list |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_exercise_types' constant | ||
key | string | Security key |
Naam | Type | Omschrijving | |
---|---|---|---|
exercise_types | hash |
{
id: { }title: string } |
Exercise type list |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_meal_types' constant | ||
key | string | Security key |
Naam | Type | Omschrijving | |
---|---|---|---|
meal_types | hash |
{
id: { }title: string } |
Exercise type list |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_calorie_groups' constant | ||
key | string | Security key |
Naam | Type | Omschrijving | |
---|---|---|---|
calorie_group_numbers | array | Calorie group numbers list |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_coaching_categories' constant | ||
key | string | Security key | ||
params[parent_id] | integer | true | Parent category ID | |
params[type_idx] | integer | true | Type category: 1 - Articles ; 2 - Exercises ; 3 - Recipes ; 4 - Videos | 1, 2, 3, 4 |
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
coaching_categories | hash |
{
id: { }is_show_on_lifestyle: boolean }order_idx: integer title: string is_show_on_portal: boolean sorting: string category_type: hash image: string is_show_on_online_lesson: boolean parent: Hash |
Coaching categories list |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_nutrition_menus' constant | ||
key | string | Security key | ||
params[calorie_group] | integer | Calorie group number (see 'get_calorie_group_numbers') | ||
params[meal_idx] | integer | Meal index (see 'get_meal_types') | ||
params[food_id] | integer | Nutrition food id (see 'get_nutrition_foods') | ||
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
nutrition_menus | hash |
{
id: { }fatt: double }meal: hash kcal: double source_title: string title: integer nutrition_food: hash carb: double quan: double day_idx: integer prot: double unit: string |
coaching nutrition menus list |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_recipe_types' constant | ||
key | string | Security key |
Naam | Type | Omschrijving | |
---|---|---|---|
recipe_types | hash |
{
id: { }title: string } |
Coaching recipe types list |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_coaching_recipe_tags' constant | ||
key | string | Security key | ||
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
coaching_recipe_tags | hash |
{
id: { }order_idx: integer }color: string title: string image: string |
Coaching recipe tags list |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_coaching_recipes' constant | ||
key | string | Security key | ||
params[category_id] | integer | Coaching category ID id (see 'get_coaching_categories') | ||
params[visibility] | integer | Visibility type : 1 - Draft ; 2 - Published ; | 1, 2 | |
params[recipe_type_id] | integer | Recipe type ID (see 'get_recipe_types') | ||
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
coaching_recipes | hash |
{
id: { }coaching_category: hash }title: string recipe_type: hash image: string visibility: string |
Coaching recipe list |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_coaching_recipe' constant | ||
key | string | Security key | ||
params[recipe_id] | integer | true | Coaching recipe database ID |
Naam | Type | Omschrijving | |
---|---|---|---|
coaching_recipe | hash |
{
id: { }ingredients: text }fatt: double kcal: double prepration_time: string settings: hash { description: textdata: { }visibile_until: date }visibile_from: date is_show_logo: boolean is_always: boolean visibility: string title: string nutrition_macros: text recipe_type: hash carb: text image: string prerparation_method: text prot: double remarks: text number_of_persons: integer |
Coaching recipe details |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_internal_sport_activities' constant | ||
key | string | Security key | ||
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
sport_activities | hash |
{
id: { }coefficient_threshold: double }kcal_per_hour: double title: string image: string is_not_sport_activity: boolean |
Internal API sport activities |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_coaching_workout_groups' constant | ||
key | string | Security key |
Naam | Type | Omschrijving | |
---|---|---|---|
workout_groups | hash |
{
id: { }title: string } |
Coaching workout groups list |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_coaching_workout_subgroups' constant | ||
key | string | Security key | ||
params[main_group_id] | integer | Workout group ID id (see 'get_coaching_workout_groups') | ||
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
workout_subgroups | hash |
{
id: { }title: string }main_group: hash |
Coaching workout subgroups list |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_coaching_workouts' constant | ||
key | string | Security key | ||
params[main_group_id] | integer | Workout group ID id (see 'get_coaching_workout_groups') | ||
params[group_id] | integer | Coaching workout sub group ID id (see 'get_coaching_workout_groups') | ||
params[source] | integer | Source IDx: 1 - CTRL+ ; 2 - Club; | 1, 2 | |
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
coaching_workouts | hash |
{
id: { }title: string }image: string sub_group: hash main_group: hash |
Coaching workouts list |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_coaching_workout' constant | ||
params[recipe_id] | integer | true | Coaching workout database ID |
Naam | Type | Omschrijving | |
---|---|---|---|
coaching_workout | hash |
{
id: { }exercises: hash }{ is_active: booleandata: { }full_info: string }title: string sets: hash { full_title: stringorder_idx: { }value_2: hash }value_1: hash unit: hash type_title: string images: string is_show_title_in_image: boolean duration: string source_title: string description: string title: string image: string targets: hash { is_use_schemes: booleandata: { }id: integer }title: string main_group: hash is_use_existing_workouts: boolean |
Coaching workout details |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_coaching_targets' constant | ||
key | string | Security key | ||
params[subtype] | integer | Source IDx: 0 - '' ; 1 - Serie; 2 - Circuit; | 0, 1, 2 | |
params[source] | integer | Source IDx: 1 - CTRL+ ; 2 - Club; | 1, 2 | |
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
coaching_targets | hash |
{
id: { }subtype: string }is_active: boolean source_title: string title: string is_use_schemes: boolean |
Coaching targets list |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_coaching_target' constant | ||
params[target_id] | integer | true | Coaching target database ID |
Naam | Type | Omschrijving | |
---|---|---|---|
coaching_target | hash |
{
id: { }subtype: string }is_active: boolean source_title: string title: string schemes: hash { is_use_schemes: booleanindex: { }series: integer }tempo: integer time: integer pause: integer week: integer strength_percent: integer repetitions: integer |
Coaching target details |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_client_body_composition' constant | ||
key | string | Security key | ||
params[from] | string | Date from 'YYYY-mm-dd'. Default is the date of the last body measurement if no date is specified | ||
params[until] | string | Date until YYYY-mm-dd'. Default is the current date if no date is specified | ||
params[field] | string | true | One of the values: id, member_number, club_card_nr, club_card_nr_qrcode | id, member_number, club_card_nr, club_card_nr_qrcode |
params[value] | string | true | Value of field |
Naam | Type | Omschrijving | |
---|---|---|---|
users | hash |
{
index: { }personal_coach: string }email: string name: string sales: string photo: string phone: string mob_phone: string member_number: string measurements: array [ sex: string{ ]length: integer }fat_moisture_free_mass: double fat_kg: double muscle_mass_kg: double bmi: double weight_kg: double water_kg: double body_fat_percent: double weighing_date: datetime body_water_percent: double visceral_fat_kg: double lean_body_mass: double metabolic_age: double lastname: string interjection: string |
User body measurements |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_valid_clients_benfit' constant | ||
key | string | Security key | ||
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return | ||
params[memberships] | string | Filter users by status in club | valid, not_valid | |
params[last_update] | time | Updated after requested datetime | ||
params[club_id] | integer | Club id from get_clubs command |
Naam | Type | Omschrijving | |
---|---|---|---|
users | hash |
{
id: { }personal_coach: string }email: string name: string sales: string photo: string next_reservation: datetime phone: string mob_phone: string member_number: string sex: string inscriptions: hash { lastname: stringindex: { }inscr_visitdone: integer }inscr_stop_date: date inscr_maxvisit: integer inscrtype_id: integer inscr_last_visit: date inscrtype_type: integer inscrtype_name: string inscr_enddate: date inscr_id: integer inscr_startdate: date interjection: string |
Users data hash |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_ledger_types' constant | ||
key | string | Security key |
Naam | Type | Omschrijving | |
---|---|---|---|
objects | hash |
{
id: { }title: string } |
Ledgers types list |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_exercise_types' constant | ||
key | string | Security key |
Naam | Type | Omschrijving | |
---|---|---|---|
objects | hash |
{
id: { }title: string } |
Ledgers modules list |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_ledger_groups' constant | ||
key | string | Security key | ||
params[country_id] | integer | Country ID | ||
params[account_type] | integer | Account type, 1 = Activa, 2 = Passiva, 3 = Resultaat | 1, 2, 3 | |
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
ledger_groups | hash |
{
id: { }title: string }account_type_title: hash country_id: integer |
Ledger group list |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_ledgers' constant | ||
key | string | Security key | ||
params[outlet_id] | integer | Outlet ID | ||
params[ledger_group_id] | integer | Ledger group ID | ||
params[type_id] | integer | Ledger type idx (see 'get_ledger_types') | ||
params[module_id] | integer | Ledger module ID (see 'get_ledger_modules') | ||
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
ledgers | hash |
{
id: { }cost_center_type: hash }number: string diary: hash cost_center: hash outlet: hash title: string type: hash subgroup: hash group: hash linked_module: hash |
Ledgers list |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_ledger' constant | ||
key | string | Security key | ||
params[ledger_id] | integer | Ledger ID |
Naam | Type | Omschrijving | |
---|---|---|---|
ledger | hash |
{
id: { }activated: boolean }cost_center_type: hash number: string diary: hash assets_options: hash { cost_center: hashindex: { }depreciation_percent: double }depreciation_start_date_type: hash depreciation_sales_ledger: hash residual_percent: double depreciation_ledger: hash group_name: string depreciation_cost_ledger: hash number_years: integer outlet: hash title: string rgs_code: double type: hash subgroup: hash vat_applicable: boolean tax_report_code: string level: integer group: hash explanation: string linked_module: hash is_client_specific_account: boolean |
Ledger details |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_tax_types' constant | ||
key | string | Security key |
Naam | Type | Omschrijving | |
---|---|---|---|
objects | hash |
{
id: { }title: string } |
Tax types list |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_tax_eu_services' constant | ||
key | string | Security key |
Naam | Type | Omschrijving | |
---|---|---|---|
objects | hash |
{
id: { }title: string } |
Tax eu services list |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_taxes' constant | ||
key | string | Security key | ||
params[type_id] | integer | Tax type (see 'get_tax_types') | ||
params[eu_service] | integer | Tax eu service (see 'get_tax_eu_services') | ||
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
ledgers | hash | Ledgers list |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_tax' constant | ||
key | string | Security key | ||
params[tax_id] | integer | Tax ID |
Naam | Type | Omschrijving | |
---|---|---|---|
tax | hash |
{
id: { }duty: integer }btw_code: string title: string rgs_code: string type: string report_parameters: hash { eu_service: stringindex: { }box_vat_section: hash }box_vat_column_number: integer box_credit_note_section: hash box_vat_credit_note_section: hash box_credit_note_column_number: integer box_turnover_section: hash box_vay_credit_note_column_number: integer box_turnover_column_number: integer percent: double rgs_description: string ledger: hash tarif_group: integer |
Ledger details |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_bookkeeping_number_diaries' constant | ||
key | string | Security key | ||
params[outlet_id] | integer | Outlet ID | ||
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
objects | hash |
{
id: { }number: string }outlet: hash description: string bookkeeping_number_cost_center: hash bookkeeping_number_type_cost: hash group: string |
Bookkeeping number diaries list |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_bookkeeping_cost_centers' constant | ||
key | string | Security key | ||
params[outlet_id] | integer | Outlet ID | ||
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
objects | hash |
{
id: { }number: string }outlet: hash description: string |
Bookkeeping number cost centers list |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_bookkeeping_cost_types' constant | ||
key | string | Security key | ||
params[outlet_id] | integer | Outlet ID | ||
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
objects | hash |
{
id: { }number: string }outlet: hash description: string |
Bookkeeping number cost types list |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'get_transactions' constant | ||
key | string | Security key | ||
params[user_id] | integer | User ID | ||
params[from] | string | Date from 'YYYY-mm-dd'. Default is the beginning of the current date if no date is specified | ||
params[until] | string | Date until YYYY-mm-dd'. Default is the end of the current month if no date is specified | ||
params[imported] | integer | Is imported | ||
params[transaction_type] | string | Transaction type | plus, minus | |
params[autorecognized] | string | Is it autorecognized; not recognized - 0, recognized - 1 | 0, 1 | |
params[bank_batches] | string | To show bank batches; not show - 0, show - 1. Show all if no parameter is specified | 0, 1 | |
params[page] | integer | Page number | ||
params[limit] | integer | Limit of items to return |
Naam | Type | Omschrijving | |
---|---|---|---|
objects | hash |
{
id: { }autorecognized: boolean }amount: double iban: string outlet: hash payment_method: hash account_logo_path: string posted: date imported: boolean counter_account: string transaction_type: string |
List of the bank transactions |
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'find_my_shift_lesnamen' constant | ||
key | string | Security key |
Naam | Type | Omschrijving |
---|
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'find_my_shift_zaalnamen' constant | ||
key | string | Security key |
Naam | Type | Omschrijving |
---|
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'find_my_shift_data_tables' constant | ||
key | string | Security key |
Naam | Type | Omschrijving |
---|
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'find_my_shift_update_les_leraar' constant | ||
key | string | Security key | ||
params[wie] | string | true | Naam van de nieuwe leraar | |
params[dag] | string | true | Dag | |
params[tijd] | string | true | Tijd | |
params[wat] | string | true | Les |
Naam | Type | Omschrijving |
---|
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'find_my_shift_update_tijd' constant | ||
key | string | Security key | ||
params[dag] | string | true | Dag, 'Di 1/7' | |
params[tijd] | string | true | Tijd, '17:00-18:00' | |
params[wat] | string | true | Les | |
params[nieuw_dag] | string | true | Nieuw dag | |
params[nieuw_tijd] | string | true | Nieuw tijd |
Naam | Type | Omschrijving |
---|
Naam | Type | verplicht | Omschrijving | Geldige waardes |
---|---|---|---|---|
method | string | 'find_my_shift_create_staff' constant | ||
key | string | Security key | ||
params[name] | string | true | First name | |
params[interjection] | string | true | Interjection | |
params[lastname] | string | Last name | ||
params[members_gender] | boolean | Gender | M, F | |
params[birthdate] | date | Birthdate, DD/MM/YYYY format | ||
params[address] | string | Address | ||
params[zipcode] | string | ZIP | ||
params[city] | string | City | ||
params[phone] | string | Phone number | ||
params[bank_account] | string | Bank account | ||
params[mobile_phone] | string | Mobile phone number | ||
params[comment] | string | General comment | ||
params[email] | string | |||
params[password] | string | Password | ||
params[password] | string | Password confirmation | ||
params[country_id] | integer | Country id, 159 for Netherlands, 20 for Belgium | ||
params[club_id] | integer | Outlet id from get_clubs command | ||
params[club_card_nr_qrcode] | string | Club card QR-code | ||
params[club_card_nr] | string | Club card code | ||
params[member_number] | integer | Auto generated if blank | ||
params[as_client] | integer | 1 to mark user as valid client |
Naam | Type | Omschrijving | |
---|---|---|---|
json_code | integer | Constant value: 29 | |
client_id | integer | Client unique ID | |
client_number | integer | Client number | |
username | string | Username | |
password | string | Password |