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 13 Current »

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

  • Description: Gets quick calling list.

  • Url: /VUP/api/QuickCallings/GetList

  • HTTP method: GET

 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": []
}

/Save

  • Description: Save quick calling rule.

  • Url: /VUP/api/QuickCallings/Save

  • HTTP method: POST

 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"
}'
 RESPONSE
{}

/Remove

  • Description: Remove quick calling rule

  • Url: /VUP/api/QuickCallings/Remove

  • HTTP method: POST

 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
}'
 RESPONSE
{}
  • No labels