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

replace

phoneType

replace

macAddress

replace

macId (Only for Gigaset phone type)

replace

configFileName(Only for generic phone type)

replace

functionKeys/<OID PhoneFunctionKeys>

remove

functionKeys/<ID>/type

replace

functionKeys/<ID>/label

replace

functionKeys/<ID>/value

replace

functionKeys/<ID>/keyIndex

replace

functionKeys/<ID>/monitoredPhone/<OID XCCPhone>

replace

functionKeys/<ID>/monitoredLine/<OID XCCPhoneLine>

replace

softKeys/<OID PhoneSoftKey>

remove

softKeys/<ID>/type

replace

softKeys/<ID>/label

replace

softKeys/<ID>/value

replace

softKeys/<ID>/keyIndex

replace

softKeys/<ID>/monitoredPhone/<OID XCCPhone>

replace

useRedirection

replace

phoneWallpaperUrl

replace

phones

add remove

useTftpProvisioning

replace

Response

None

Context

Authorization

User

Errors

Example

Request
PATCH https://xelion.nl/api/v1/master/provisioning/1627410
Payload
{
        "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"
            }
        ]
}