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

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

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

POST Parameters

Required Parameters

NameDescription
valueThe value of family/key. Example: TestValue

Response

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

Examples

CLI CURL
curl -X POST -u user:pass --url "http://{PBX}/api/v1/Dialplan/DB/:family/:key+/"  --data-urlencode "value=data"