By using the Aculab site, you agree with our use of cookies.
right  Talk To Us!

action result

Contains the result of a previous action for those actions that generate a result.

Used by actions connect, connect to conference, get input, get number, receive fax, record, run menu, run speech menu, send fax, start transcription and in HTTP Request

language wrappers and examples

It contains the following properties:

PropertyAvailabilityDescription
actionalwaysThe name of the action that generated this result.
resultalways unless interrupted A JSON object that contains the result of the action specified. The following actions generate an action result: record, get number, get input, run menu, run speech menu, connect, connect to conference, send fax and receive fax. See these actions for details of the contents of this object.
If interrupted is true this property will be omitted.
interruptedinterrupted actions onlyA boolean to indicate whether the action was interrupted by the web-services interrupt command

  • Examples:

    • The action result of a record action:

      	{
      		"action" : "record",
      		"result" :
      		{
      			"filename" : "/rest_api/recordings/2013/07/16/14_35_03_04f01fb92e8913a8.62100.wav",
      			"contains_sound" : true,
      			"seconds_duration" : 16.7
      		}
      	}