Changes

From SimplyBook.me
no edit summary
Line 1: Line 1:  
== Methods ==
 
== Methods ==
 +
 +
=== getServiceUrl ===
 +
 +
<code>getServiceUrl($companyLogin)</code>
 +
 +
Parameters:
 +
 +
* '''$companyLogin''' String
 +
 +
Returns String.
 +
 +
Returns API url for given company login
 +
 +
 +
----
    
=== getApplicationToken ===
 
=== getApplicationToken ===
Line 31: Line 46:  
Returns an application's token string for a company. You should use this token to authenticate all calls of
 
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
 
[[Company public service methods|Company public service API methods]] and [[Catalogue|Catalogue API methods]]. To
get application API key you need to enable [[Plugins#API|API plugin]].
+
get application API key you need to enable [[Custom_Features#API|API Custom Feature]].
      Line 51: Line 66:  
authenticate all calls of [[Company administration service methods|Company administration service API methods]] and
 
authenticate all calls of [[Company administration service methods|Company administration service API methods]] and
 
[[Catalogue|Catalogue API methods]].
 
[[Catalogue|Catalogue API methods]].
      
----
 
----
Line 65: Line 79:  
* -33003 User with this login and password not found
 
* -33003 User with this login and password not found
 
* -33004 User is blocked
 
* -33004 User is blocked
* -33005 You are not allowed to use this application when HIPAA Plugin is enabled
+
* -33005 You are not allowed to use this application when HIPAA Custom Feature is enabled