Destroy virtual receptionists
Path parameters
-
access_tokenstring
required
token to be passed as a header
Request body
application/json
-
idstring
required
Sample Request
curl -v -X POST http://127.0.0.1:8990/api/virtual_receptionists/destroy \
-H "Content-Type: application/json" \
-H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
-d '{}'
Responses
200
400
Sample Response
Retrieve virtual receptionists
Path parameters
-
access_tokenstring
required
token to be passed as a header -
idstring
required
The unique ID of virtual receptionists.
Sample Request
curl -v -X GET http://127.0.0.1:8990/api/virtual_receptionists/show \
-H "Content-Type: application/json" \
-H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
Responses
200
application/json
-
urlactionsobject
Show child attributes -
key2object
Show child attributes -
key7object
Show child attributes -
failureobject
Show child attributes -
key0object
Show child attributes -
call_transfer_fileidstring
-
key6object
Show child attributes -
key3object
Show child attributes -
timeoutobject
Show child attributes -
prompt_filenamestring
-
key9object
Show child attributes -
call_transfer_metadata_idstring
-
key1object
Show child attributes -
key8object
Show child attributes -
call_transfer_filenamestring
-
idstring
-
prompt_metadata_idstring
-
key4object
Show child attributes -
play_countinteger
-
gap_timeinteger
Gap time between DTMF digits. -
prompt_fileidstring
-
namestring
The name of virtual receptionist. -
extension_numberstring
-
key5object
Show child attributes -
languagestring
Default Audio prompt file's language.
Sample Response
{}
Retrieve a collection of virtual receptionists
Path parameters
-
access_tokenstring
required
token to be passed as a header -
paginationinteger
required
The pagination of paging. -
pagesizeinteger
required
The size of paging. -
sort_bystring
optional
Values include "DEFAULT" and "Optional". Default value will be used when user does not specify value for this field.
Sample Request
curl -v -X GET http://127.0.0.1:8990/api/virtual_receptionists/list \
-H "Content-Type: application/json" \
-H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
Responses
200
application/json
-
pagesizeinteger
-
sort_bystring
-
paginationinteger
-
virtual_receptionistsarray
Show child attributes -
countinteger
Sample Response
{
"pagesize": 10,
"sort_by": "DEFAULT",
"pagination": 8,
"count": 100
}
Create an virtual receptionists entry.
Path parameters
-
access_tokenstring
required
token to be passed as a header
Request body
application/json
-
call_transfer_metadata_idstring
required
-
urlactionsobject
required
Show child attributes -
key1object
required
Show child attributes -
key2object
required
Show child attributes -
key7object
required
Show child attributes -
languagestring
required
Default Audio prompt file's language. -
failureobject
required
Show child attributes -
key0object
required
Show child attributes -
prompt_metadata_idstring
required
-
key4object
required
Show child attributes -
key6object
required
Show child attributes -
key3object
required
Show child attributes -
gap_timeinteger
required
Gap time between DTMF digits. -
namestring
required
The name of virtual receptionist. -
timeoutobject
required
Show child attributes -
play_countinteger
required
-
extension_numberstring
required
-
key5object
required
Show child attributes -
key9object
required
Show child attributes -
key8object
required
Show child attributes
Sample Request
curl -v -X POST http://127.0.0.1:8990/api/virtual_receptionists/create \
-H "Content-Type: application/json" \
-H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
-d '{}'
Responses
200
application/json
-
idstring
Sample Response
{}
Update virtual receptionists
Path parameters
-
access_tokenstring
required
token to be passed as a header
Request body
application/json
-
call_transfer_metadata_idstring
required
-
urlactionsobject
required
Show child attributes -
key1object
required
Show child attributes -
key2object
required
Show child attributes -
key7object
required
Show child attributes -
idstring
required
-
failureobject
required
Show child attributes -
key0object
required
Show child attributes -
prompt_metadata_idstring
required
-
key4object
required
Show child attributes -
key6object
required
Show child attributes -
key3object
required
Show child attributes -
gap_timeinteger
required
Gap time between DTMF digits. -
namestring
required
The name of virtual receptionist. -
timeoutobject
required
Show child attributes -
play_countinteger
required
-
key9object
required
Show child attributes -
key5object
required
Show child attributes -
languagestring
required
Default Audio prompt file's language. -
key8object
required
Show child attributes
Sample Request
curl -v -X POST http://127.0.0.1:8990/api/virtual_receptionists/update \
-H "Content-Type: application/json" \
-H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
-d '{}'
Responses
200
Sample Response