...
The Invocation is a JSON object that contains two properties:
provider
. You can ignore this property at the moment This property is not required in this example as you have not registered a provider.requests
. Required Therequests
property contains one or moreInteraction
objects which, in turn, contain further properties. The example uses the following properties to route the interaction:action
. The action you want to perform with the request. Allowed values are dispatch and release. In this example,action
must be dispatch.requestid
. Unique identifier of a request.externalid
. Unique identifier of the interaction. Theexternalid
might be the same as a record ID in the source system. Without anexternalid
you will not be able to identify and perform any future actions, such as release, on this interaction.route
. The named route you wish to invoke. Specify the target named route. VCC uses the value to locate the named route.routingdata
. Useroutingdata
to provide any data useful for routing an interaction to an agent.interactiontype
.interactiontype
labels the interaction as a live (call, for example), nonlive (email, for example), or chat (web chat, for example) type interaction.
...