Revision as of 16:34, 14 December 2015 by Admin (talk | contribs) (Created page with "=[https://simplybook.me/api/doc#/ Company public service] API methods= ====getCompanyParam==== <code>getCompanyParam(key)</code> Params: * '''key''' string Returns string....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Company public service methods

From SimplyBook.me

Company public service API methods

getCompanyParam

getCompanyParam(key)

Params:

  • key string

Returns string.

getCompanyParam API method returns configuration value for specified key. Method return invalid params error (code -32602) in case if specified key not allowed.

Possible values of key parameter:

  • allow_delay_payment
  • allow_event_breaktime_break
  • allow_event_day_break
  • company_timezone
  • date_format
  • fixed_country_prefix
  • hide_sale_tax
  • max_time_till_event
  • min_time_till_event
  • monday_is_first_day
  • payment_timeout
  • require_fields
    String. Client's data fields required for booking. Possible values:
    • phone - phone number is required
    • email - email address is required
    • email_phone - phone number and email address are required
  • sale_tax
  • send_notifications_in_client_timezone
  • show_booking_page_in_client_timezone
  • time_format
  • timeframe
  • user_public_timeline_type