put https://api-smartflo.tatateleservices.com/v1/auto_attendant/
This API allows you to update an existing Auto Attendant.
Sample Request
curl --request PUT \
--url https://api-smartflo.tatateleservices.com/v1/auto_attendant/id \
--header 'accept: application/json' \
--header 'content-type: application/json'\
--data '
{
"recording_type": "recording",
"destination_type": "agent",
......
}
'
š Important!
Before we begin, note that the * sign denotes the mandatory variables in each table.
Request Variables (Path Params)
The following parameter is required to update an auto attendant:
Variable Name | Description | Data Type |
---|---|---|
id | ID of the Auto Attendant. | String |
Request Variables (Body Params)
The following parameter is required to update an auto attendant:
Variable Name | Description | Data Type |
---|---|---|
name* | Name of Auto Attendant. | string |
description* | Description of Auto Attendant. | string |
recording_type* | Type of Recording. | string |
destination_type* | Type of destination. Note: In case of hangup destination_id will always be 1. | string |
Response Variables
The response returned is as following:
Variable Name | Description | Data Type |
---|---|---|
Success | The request success status, the possible values are: True (default) for success. False for failure. | Boolean |
Message | The message corresponding to the success status. For example, in 400 Response where the "success" variable pops as True, the message displayed is shown here. | String |