Update Phone Line Group
This request changes phone line group attributes. A phone line group is also known as a call pickup group.
Resource
PATCH /phonelinesgroups/<OID>
Where OID
is the oid of the phone line group
Parameters
None
Response
None
Context
Authorization |
Administrator |
Errors
Example
Request
PATCH https://xelion.nl/api/v1/master/phonelinesgroups/1627410
Payload
change phone line group direct member
{
"operations": [
{
"op": "replace",
"path": "/commonName",
"value": "pickup group 6"
}
]
}
add new line to the phone line group, first add a path with a virtual id '1' and insert the oid of the phone line as value
{
"operations": [
{
"op": "add",
"path": "/lines/1",
"value": "1756113"
}
]
}
remove a line from the phone line group, <OID> is the oid of the phone line group relation object
{
"operations": [
{
"op": "remove",
"path": "/lines/321443"
}
]
}