PBX API : GET /Dialplan/DB/:family/:key+/

To get a dial plan database value, make an HTTP GET request with basic authorization, resource URI:

http(s)://{PBX}/api/v1/Dialplan/DB/:family/:key+/
 

Response

TypeExample
Success{"type":"result","result":"TestValue"}
Error{"type":"error","reason":"Key 'testKey' not found","result":null}

Response

GET http://{PBX}/api/v1/Dialplan/db/CustomFamily/testKey/
{
    "type":"result",
    "result":"TestValue"
}

Examples

CLI CURL
curl -X GET -u user:pass --url "http://{PBX}/api/v1/Dialplan/DB/:family/:key+/"