Data Structure for ScriptApplication

Attribute

Base Type

Restrictions

Description

script

String

None

Script to be selected for the application. It can be system script or user script.

Example for system script:

<script>SSCRIPT[aa.aef]</script>

or

<script>aa.aef</script>

For user script, specify the script with the relative path.

Examples for user script:

<script>SCRIPT[user.aef]</script>
<script>SCRIPT[user/user.aef]</script>

defaultScript

String

None

Default script to be executed if there are errors in running the script or surveyScript

Example for system script:

<defaultScript>aa.aef</defaultScript>

Examples for user script:

<defaultScript>SCRIPT[user.aef]</defaultScript>
<defaultScript>SCRIPT[user/user.aef]</defaultScript>

scriptParams

Variable

None

Parameters of the script.

A optional flag isDefaultValue in the response of Get Application API with query parameter (allScriptParams) indicates if the value displayed against a parameter is a default value defined in the script.

defaultScriptParams

Variable

None

Parameters of the default script.

An optional flag isDefaultValue in the response of Get Application API with query parameter (allScriptParams) indicates if the value displayed against a parameter is a default value defined in the script.

ivrSurveyName

String

minlength =1

maxlength=128

The name of the questionnaire from Cisco Webex Experience Management that is associated with the application. Configure the ivrSurveyName attribute to play an inline IVR survey to the customer after a call.

This field is optional. The script application can either have ivrSurveyName or dispatchId attributes.

dispatchId

String

minlength=1

maxlength=24

The ID of the dispatch template from Cisco Webex Experience Management that is associated with the application. Configure the dispatchId attribute to send an offline SMS/Email survey to the customer.

This field is optional. The script application can either have ivrSurveyName or dispatchId attributes.