API Version: Development
System-Admin
or Company-Admin
access./rest/ops/create/
System-Admin
access.{
"type": "ddi"
"values": {
"dialcode": "dialcode part of DDI",
"number": "number part of DDI",
"virt_exten": "linked extension number",
"company": "company"
}
}
{
"result": "success",
"numrows": rows-created
}
/rest/ops/read/
System-Admin
or relevant Company-Admin
access.Company-Admin
users the result is automatically restricted to administered companies.{
"type": "ddi"
"scope": {
"dialcode": "dialcode part of DDI (optional)",
"number": "number part of DDI (optional)",
"virt_exten": "linked extension number (optional)",
"company": "company (optional)"
}
}
{
"result": "success",
"values": [
{
"dialcode": "dialcode part of DDI",
"number": "number part of DDI",
"virt_exten": "linked extension number",
"company": "company"
},
...
],
numrows: number-of-rows
}
/rest/ops/update/
System-Admin
or relevant Company-Admin
access.Company-Admin
users the result is automatically restricted to administered companies.dialcode
and number
fields cannot be edited.{
"type": "ddi"
"scope": {
"dialcode": "dialcode part of DDI (optional)",
"number": "number part of DDI (optional)",
"virt_exten": "linked extension number (optional)",
"company": "company"
},
"values": {
"virt_exten": "linked extension number (optional)",
"company": "company (optional)"
}
}
/rest/ops/link/
System-Admin
or relevant Company-Admin
access.Company-Admin
users the result is automatically restricted to administered companies.{
"type": "ddi"
"scope": {
"dialcode": "dialcode part of DDI",
"number": "number part of DDI"
},
"values": {
"virt_exten": "linked extension number",
"company": "company"
}
}
Return value:
{
"result": "success",
"numrows": number-of-rows-updated
}
/rest/ops/delete/
System-Admin
access.{
"type": "ddi"
"scope": {
"dialcode": "dialcode part of DDI (optional)",
"number": "number part of DDI (optional)",
"virt_exten": "linked extension number (optional)",
"company": "company"
}
}
{
"result": "success",
"numrows": rows-deleted
}