Changes

From SimplyBook.me

Authentication

198 bytes added, 19:05, 26 December 2016
no edit summary
== Methods ==
 
=== getServiceUrl ===
 
<code>getServiceUrl($companyLogin)</code>
 
Parameters:
 
* '''$companyLogin''' String
 
Returns String.
 
Returns API url for given company login
 
 
----
=== getApplicationToken ===
Returns an application's token string for a company. You should use this token to authenticate all calls of
[[Company public service methods|Company public service API methods]] and [[Catalogue|Catalogue API methods]]. To
get application API key you need to enable [[PluginsCustom_Features#API|API pluginCustom Feature]].
authenticate all calls of [[Company administration service methods|Company administration service API methods]] and
[[Catalogue|Catalogue API methods]].
 
----
* -33003 User with this login and password not found
* -33004 User is blocked
* -33005 You are not allowed to use this application when HIPAA Plugin Custom Feature is enabled