Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
maxLevel3
indentLIST OF METHODS

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

Expand
titleREQUEST
Code Block
curl --location 'https://xxxxxxxx/vup/api/QuickCallings/GetList' \
--header 'Accept: application/json, text/plain, */*' \
--header 'Authorization: Basic dXNlcjpwYXNzd29yZA==' 
Expand
titleRESPONSE
Code Block
{
    "recordsTotal": 0,
    "recordsFiltered": 0,
    "data": []
}

/Save

  • Description: Save quick calling rule.

  • Url: /VUP/api/QuickCallings/Save

  • HTTP method: POST

Expand
titleREQUEST
Code Block
curl --location 'https://xxxxxxxxxx/vup/api/QuickCallings/Save' \
--header 'Accept: application/json, text/plain, */*' \
--header 'Authorization: Basic bWFyY2luOmRvYnVjaDE4ODk=' \
--header 'Content-Type: application/json' \
--data '{
  "did": {},
  "number": "48669669669",
  "didId": "8",
  "description": "Call mama"
}'
Expand
titleRESPONSE
Code Block
{}

/Remove

  • Description: Remove quick calling rule

  • Url: /VUP/api/QuickCallings/Remove

  • HTTP method: POST

Expand
titleREQUEST
Code Block
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"
}'
Expand
titleRESPONSE
Code Block
{}