Hi
I'm using PUT
/api/v2/telephony/providers/edges/phones/{phoneId} to move a "Remote" phone between sites ( Not WebRTC phone)
I have to include a Lines Name (and associated properties) to make this work
If I use the existing Lines name I get an error saying the Lines Name already exists (even though this is the line I want to change)
{
"message": "StationV2 with name 'BADesk_1' already exists.",
"code": "general.bad.request",
"status": 400,
"messageWithParams": "{entityName} with {fieldName} '{value}' already exists.",
"messageParams": {
"entityName": "StationV2",
"fieldName": "name",
"value": "BADesk_1"
},
"contextId": "c0731103-0f4b-4cf2-acb0-d4d03902f57c",
"details": [
{
"errorCode": "DUPLICATE_LINE_NAME",
"fieldName": "lines[0].name"
}
],
"errors": []
}
If I change the Lines name, and associated Lines properties, this is successful, but this means the agent will need to reselect the Phone to make calls.
The UI doesnt require this to change Sites
Any ideas? I would have thought the Update would do just that?
Cheers
Brian