API Version: 6.5
HTTP(S) POST request.Content-Type is expected to be application/json, although almost any content type that does not trigger <FORM> processing will suffice.{}, which may be sufficient for some requests.https://pabx.hostname/rest/section/verb/type
| Path Element | Description |
|---|---|
| section | refers to the sub-part of the REST API being referenced such as 'ops' or 'command'. |
| verb | the action to execute; 'create', 'read', 'update', 'delete'. |
| type | (Optional) the data-type - This may be specified on the path or in the JSON, e.g. 'authinfo' or 'ddi'. |
{
"type":"data-type",
"scope":{ ... },
"columns":[ ... ],
"values":{ ... },
"order":[ ... ],
"auth":{ ... }
}
{
"result":"success or fail",
"values":[
{ ... }, ...
]
}
values array contains a list of objects. Each object contains column: data pairs based on the requested columns.