Update Provisioning
This request changes provisioning attributes.
Resource
PATCH /provisioning/<OID>
Where OID
is the oid of the provisioning
Parameters
None
Payload
Fields
Name | Patch Operations |
---|---|
provisioningEnabled |
|
phoneType |
|
macAddress |
|
macId (Only for Gigaset phone type) |
|
configFileName(Only for generic phone type) |
|
functionKeys/<OID PhoneFunctionKeys> |
|
functionKeys/<ID>/type |
|
functionKeys/<ID>/label |
|
functionKeys/<ID>/value |
|
functionKeys/<ID>/keyIndex |
|
functionKeys/<ID>/monitoredPhone/<OID XCCPhone> |
|
functionKeys/<ID>/monitoredLine/<OID XCCPhoneLine> |
|
softKeys/<OID PhoneSoftKey> |
|
softKeys/<ID>/type |
|
softKeys/<ID>/label |
|
softKeys/<ID>/value |
|
softKeys/<ID>/keyIndex |
|
softKeys/<ID>/monitoredPhone/<OID XCCPhone> |
|
useRedirection |
|
phoneWallpaperUrl |
|
phones |
|
useTftpProvisioning |
|
Response
None
Context
Authorization |
User |
Errors
Example
PATCH https://xelion.nl/api/v1/master/provisioning/1627410
{
"operations": [
{
"op": "add",
"path": "/functionKeys/1"
},
{
"op": "replace",
"path": "/functionKeys/1/label",
"value": "wes"
},
{
"op": "replace",
"path": "/functionKeys/1/keyIndex",
"value": 1
},
{
"op": "replace",
"path": "/customProvisioningOptions",
"value": "customized"
},
{
"op": "replace",
"path": "/phoneWallpaperUrl",
"value": "http://theNewOtherWallpaperLocation.com"
}
]
}