Skip to end of metadata
Go to start of metadata
You are viewing an old version of this content. View the current version.
Compare with Current
View Version History
« Previous
Version 12
Next »
The Quick Calling services enables an end user to redirect his local access number (DID) to any destination number (e.g. international).
Authorization
The method requires authorization using basic authentication. Please use the sip login and password.
If notepad++ is used to generate basic authentication token for tests, please use option “Base64 Encode with padding”.
Example:
user:password in base 64 format --> dXNlcjpwYXNzd29yZA==
/GetList
REQUEST
curl --location 'https://xxxxxxxx/vup/api/QuickCallings/GetList' \
--header 'Accept: application/json, text/plain, */*' \
--header 'Authorization: Basic dXNlcjpwYXNzd29yZA=='
RESPONSE
{
"recordsTotal": 0,
"recordsFiltered": 0,
"data": []
}
REQUEST
curl --location 'https://xxxxxxxxxx/vup/api/QuickCallings/Save' \
--header 'Accept: application/json, text/plain, */*' \
--header 'Authorization: Basic bWFyY2luOmRvYnVjaDE4ODk=' \
--header 'Content-Type: application/json' \
--data '{
"number": "48669669669",
"didId": "8",
"description": "Call mama"
}'
REQUEST
curl --location 'https://xxxxxxxxxxx/vup/api/QuickCallings/Remove' \
--header 'Accept: application/json, text/plain, */*' \
--header 'Authorization: Basic bWFyY2luOmRvYnVjaDE4ODk=' \
--header 'Content-Type: application/json' \
--data '{
"id": 11,
"description": "callmama",
"number": "48669669669",
"didId": 8,
"didNumber": "13031231234321"
}'