Company administration service methods: Difference between revisions
| Line 1,183: | Line 1,183: | ||
== Constants == | == Constants == | ||
== Error codes == | |||
* | * -32001 Plugin is not activated | ||
* | * -32010 Some required params are missed | ||
* | * -32011 Params is not array | ||
* | * -32012 Sheduler id not found | ||
* | * -32020 Sorry, you have no permissions to perform this action | ||
* | * -32030 Invalid promotion code | ||
* | * -32031 Promotion has expired | ||
* | * -32032 Promotion is not active yet | ||
* | * -32033 This promocode is not valid for selected service | ||
* | * -32034 Exceed max usage limit | ||
* | * -32035 Exceed max usage per customer limit'const | ||
* | * -32036 This promocode is not available for datetime range | ||
* | * -32051 Selected event id is not available | ||
* | * -32052 Selected unit id is not available | ||
* | * -32053 Selected date start is not available | ||
* | * -32054 Selected time start is not available | ||
* | * -32055 One or more appointments couldn't be reserved | ||
* | * -32056 Booking is not allowed at this time | ||
* | * -32061 Client name value is wrong | ||
* | * -32062 Client email value is wrong | ||
* | * -32063 Client phone value is wrong | ||
* | * -32070 Additional field values are wrong | ||
* | * -32080 Appointemnt couldn't be found | ||
* | * -32085 Signature error | ||
* | * -32090 Confirmation with this key type is not available | ||
* | * -32095 Batch not found | ||
* | * -32097 Unsupported payment system | ||
* | * -32099 Payment failed | ||
* | * -32600 | ||
* | *: An error with this code can be thrown with one of the following messages: | ||
* | ** Access denied | ||
* | ** Company does not exists | ||
* | * -32601 Method not found | ||
* | * -32602 Invalid params | ||
* -32603 Internal error | |||
- | * -3264 Client with given id not found | ||
====Company params==== | ====Company params==== | ||