Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Description 

Get a list of DIDs belonging to a client. 

Parameters

client_account_code

Request

curl -X POST \
-H "Authorization: Token d37fa8c4e008fec158070b1b4aea5f0db3d6a06e" \
-H "Content-Type: application/json" \
-d '{"client_account_code":"1480270993"}' \
-k https://your.domain.com/api/users/get_client_did

 Response

{
"441138300783":
 {
"Status": "allocated",
 "Channels": 2,"Number Type": "geographic",
"Primary Route": "device",
"Backup Route": "busy",
"Primary Destination": "1480270993Jrcdj0",
"Backup Destination": "",
"Country": "United Kingdom"
},
"442031290962":
{
"Status": "allocated",
"Channels": 2,
"Number Type": "geographic",
"Primary Route": "uri",
"Backup Route": "congestion",
"Primary Destination": "{E164}@sbc.carismahostip.com:5060",
"Backup Destination": "", "Country": "United Kingdom"}
}

 


  • No labels