Difference between revisions of "Company public service methods"
From SimplyBook.me
(Created page with "=[https://simplybook.me/api/doc#/ Company public service] API methods= ====getCompanyParam==== <code>getCompanyParam(key)</code> Params: * '''key''' string Returns string....") |
|||
Line 1: | Line 1: | ||
− | + | You can find full list of Company public service] API methods [https://simplybook.me/api/doc#/ here]. | |
====getCompanyParam==== | ====getCompanyParam==== |
Revision as of 16:41, 14 December 2015
You can find full list of Company public service] API methods here.
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