Get Phone Template
This request returns the specified phone template
Resource
GET /phonetemplates/<Template Oid>
Parameters
None
Payload
None
Response
Context
Authorization |
Administrator |
Errors
Example
Request
GET https://xelion.nl/api/v1/master/phonetemplates/1689292
Response
{
"object": {
"allowPeerToPeer": false,
"phoneType": "Yealink_T22P",
"functionKeys": [
{
"type": "blf",
"label": "Bla",
"value": "",
"keyIndex": 1,
"monitoredPhone": {
"commonName": "Softphone van Bruno",
"oid": "1626898",
"objectType": "XCCPhone"
},
"oid": "1689356",
"objectType": "PhoneFunctionKey"
},
{
"type": "blf",
"label": "blabla",
"value": "",
"keyIndex": 2,
"monitoredPhone": {
"commonName": "Softphone van Haas Henk",
"oid": "1626799",
"objectType": "XCCPhone"
},
"oid": "1720191",
"objectType": "PhoneFunctionKey"
}
],
"softKeys": [],
"customProvisioningOptions": {
"content": "these are custom provisioning options",
"oid": "1813312",
"objectType": "Comment"
},
"customSipOptions": "",
"voicemailNumber": "",
"callPickupCode": "",
"wallpaperLocation": "",
"reprovisionDate": "01:00",
"yealinkSettings": {
"personalActive": true,
"personalValue": "0",
"groupActive": true,
"groupValue": "0",
"enterpriseActive": true,
"enterpriseValue": "0",
"groupCommonActive": true,
"groupCommonValue": "0",
"enterpriseCommonActive": true,
"enterpriseCommonValue": "0",
"callLogActive": true,
"callLogValue": "0",
"featureKeySyncActive": true,
"featureKeySyncValue": "0",
"directoryActive": true,
"directoryValue": "0",
"bwEnableActive": true,
"bwEnableValue": "0",
"voiceEchoActive": true,
"voiceEchoValue": "1",
"codecPrioActive": true,
"codecPrioValue": "4",
"oid": "1689295",
"objectType": "YealinkSettings"
},
"configFileName": "",
"hotDeskingEnabled": true,
"provisioningEnabled": true,
"useRedirection": false,
"permissions": "ReadWriteRemove",
"commonName": "<Onbekend> <XCCPhoneTemplate>",
"oid": "1689292",
"objectType": "XCCPhoneTemplate"
},
"links": [
{
"rel": "self",
"method": "GET"
}
]
}