Avaya Actions
Avaya has two different types of Actions:
1.Phone Services
2.Phone Services Dialer
Get Avaya Actions
Retrieve all Avaya actions by issuing a GET on the below URL.
This will return a collection of Actions objects, which could be a mix of the above-mentioned Action types.
The above will return a specific Action with Id.
[Note: Query filters may be applied on the Actions object. Refer to Query Methods portion of the document for more information]
Phone Service Actions Object
Name (required) |
The name of action you are creating. |
Site |
Provide a Site (name) to associate the action. A null or empty string for Site defaults the action to AllSites, i.e. The action will be available to all Sites configured in Revolution. |
URL |
This is not a create or update property but will be provided on all GET of an actions. This is a dynamically generated callback URL to trigger this action. |
Add or Update Avaya Actions
Actions may be added/updated in collections of Actions objects.
Example Request
-
This POST request adds one new PhoneService and updates another existing PhoneService (Note: the object with ‘Id’)
Example Response
Phone Service Dialer Actions Object
Name (required) |
The name of action you are creating. |
Site |
Provide a Site (name) to associate the action. A null or empty string for Site defaults the action to AllSites, i.e. The action will be available to all Sites configured in Revolution. |
Extension |
Dial an extension directly |
URL |
This is not a create or update property but will be provided on all GET of an actions. This is a dynamically generated callback URL to trigger this action. |
Actions may be added/updated in collections of Actions objects.
Follow the same example as provided for PhoneService
Delete Avaya Actions
Delete Avaya Actions by sending a collection of Ids of actions that need to be deleted.
Example Request
-
This POST deletes actions with below IDs.