FoneStorm digitquery object representing an account resource in the object store.
{
"id": "452ced9c764024",
"label": "452ced9c764024",
"soundfile": "SF123456789",
"maxdigits": 1,
"mindigits": 1,
"retries": 3,
"timeout": 10,
"invalid_prompt": true,
"callback_settings": {
"url": null,
"url_method": null,
"url_username": null,
"url_password": null
},
"match_pattern": "",
"match_destination": {
"destination_type": "Forward",
"destination": "3214991000"
},
"nomatch_destination": {
"destination_type": "Hangup",
"destination": ""
},
"default_destination": {
"destination_type": "Voicemail",
"destination": "V123456789"
},
"email_options": {
"email": "",
"subject": "",
"body": ""
},
"active": true
}
Property | Type | Description |
---|---|---|
id | string | Unique identifier of digitquery. |
label | string | Label for the digitquery. |
soundfile | string | SoundFile ID or Text to speech string. |
maxdigits | integer | Maximum digits allowed. |
mindigits | integer | Minimum digits allowed. |
retries | integer | Number of retries allowed. |
timeout | integer | Timeout seconds. |
invalid_prompt | boolean | Play invalid prompt or not. |
match_pattern | string | Match pattern. |
callback_settings.url | string | Callback URL. |
callback_settings.method | string | Callback method GET, POST or JSON. |
callback_settings.url_username | string | Callback URL username. |
callback_settings.url_password | string | Callback URL password. |
match_destination.destination_type | string | Destination type for match destination. |
match_destination.destination | string | Destination ID for match destination. |
nomatch_destination.destination_type | string | Destination type for no-match destination. |
nomatch_destination.destination | string | Destination ID for no-match destination. |
default_destination.destination_type | string | Destination type for default destination. |
default_destination.destination | string | Destination ID for default destination. |
email_options.email | string | Email address. |
email_options.subject | string | Email subject. |
email_options.body | string | Email body. |
active | boolean | DigitQuery active or not. |