Just wanted to report what I think is a bug when using the API Explorer Standalone for PUT - Update Phone by ID
/api/v2/telephony/providers/edges/phones/{phoneId}
If I submit a request with the request body below (all the fields are populated) I receive 'The request failed with response code: 400. Message: Field 'templateId' is required and cannot be empty.' You can see in the request body that template ID is provided under the lines property.
{
"name": "Test_WebRTC",
"site": {
"id": "",
"name": "",
"selfUri": ""
},
"phoneBaseSettings": {
"id": "",
"name": "",
"selfUri": ""
},
"lines": [
{
"id": "",
"name": "",
"state": "",
"template": {
"id": ""
},
"selfUri": ""
}
],
"webRtcUser": {
"id": "",
"name": "",
"selfUri": ""
}
}
When you add the fields below; the request will complete successfully, note that template Id is not one of the fields:
"site": {
"id": "",
"name": "",
"selfUri": ""
},
"lineBaseSettings": {
"id": "",
"name": "",
"selfUri": ""
},