Docs for all releases
Page History
...
Panel | ||
---|---|---|
| ||
|
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
More Information This page contains information about Provisioning API as a section of the user interface. For the documentation about Provisioning API as a concept and its usage, please refer to ProvisioningAPI article. |
Section overview
The following section allows configuring and monitoring of hooks for Provisioning API.
Provisioning API provides a mechanism for real-time integration with 3rd party systems, including softswitches, gateways, and CRM systems. It calls calls pre-defined handlers on an the occurrence of specific events in the system. The handlers are allowed to modify data, forbid or allow the action or simply process given event. For detailed information about Provisioning API functionality, go to the APIs section of our User Guide.
To configure handlers and check their call log, go to the Integration > Provisioning API.
Column | Description | |
---|---|---|
ID | Handler's identification number | |
Priority | Priority of handlers execution | |
Name | Handler's title | |
Event | Description of the handler event | |
Handler | Category of the handler that is used and location. There are two types of handlers that can be used:
|
...
Button/Icon | Description | |
---|---|---|
Allows creating a new handler | ||
Identifies a disabled status of a handler | ||
Identifies an enabled status of a handler | ||
Identifies an archived status of a handler | ||
Allows viewing details of a target handlers' performance Execution Logs tab for a respective handler | ||
Allows deleting a handler from the system |
...
borderColor | #ccffcc |
---|---|
bgColor | #ccffcc |
borderWidth | 2px |
borderStyle | solid |
...
Advanced Search
Advanced Search drop-down menu, located in the top right corner of the section, is called to facilitate easy access to required information. By clicking on a downward arrow , iconthe following drop-down menu is displayed:
Screenshot: Advanced Search drop-down menu
Field | Description | |
---|---|---|
Event |
Filter by the event type | |
Handler Type |
Filter by the type of the handler |
Status |
Choose a target status:
- Enabled
- Disabled
- Archived
Filter by status of the handler |
Creating a New Handler
To start with provisioning, you need to create a handler manually. Click the New Handler button and specify respective parameters in the appeared pop-up window:
...
Field | Description | ||
---|---|---|---|
Name | Specify a particular title for a handler | ||
Event | Import | Specify a handler event from the following list: | |
Clients |
| ||
Accounts |
| ||
Subscriptions |
| ||
an event to be handled | |||
Status | Choose the state of the handler:
| ||
Priority | Establish an order of handler performing. |
Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
In VCS 3.17.0, to prevent performance degradation and data inconsistency, affected by the external side, Before event type has been removed from the section. | ||||||||
|
Code Block | ||
---|---|---|
| ||
from flask import Flask, request
import json
app = Flask(__name__)
@app.route("/api", methods=['GET', 'POST'])
def api():
data = json.loads(request.data)
return json.dumps(data)
if __name__ == "__main__":
app.run() |
borderColor | #ffffb3 |
---|---|
bgColor | #ffffb3 |
borderWidth | 2px |
Attention
To put a handler into action, you need to restart the wait for about 5 minutes till the next execution of the Cache Manager. To do so, click on the corresponding icon in the System Services section service.
Execution Logs tab
You can access the details about handler execution in this tab. For more details, check out a related article: Execution Logs.
...
borderColor | #FFBABA |
---|---|
bgColor | #FFBABA |
borderWidth | 2px |
borderStyle | solid |
Warning
...