Update Settings - Local


This request changes local settings attributes.

Resource

PATCH /server/local

Parameters

None

Payload

Fields

Name Patch Operations

localAreaCode

replace

maxInternalNumberLength

replace

emergencyNumber

replace

alternativeEmergencyNumber

replace

normalizationRules

add, remove

nonLocalPrefixes

add, remove

smsNumberPrefixes

add, remove

locale

replace

Response

None

Context

Authorization

Administrator

Errors

Example

Request
PATCH https://xelion.nl/api/v1/master/server/local
Payload
{
    "operations": [
            {
        "op": "replace",
            "path": "/emergencyNumber",
            "value": "112"
            },
            {
            "op": "replace",
            "path": "/locale",
            "value":"1001310"
            },
            {
            "op": "add",
            "path": "/smsNumberPrefixes/1"
            },
            {
            "op": "replace",
            "path": "/smsNumberPrefixes/1/matchString",
            "value":"06"
            }
    ]
}