I’m trying to change the dial information using Update Core Device… What am I doing wrong?
Execution code
mutation{
updateCoreDevice(input:{
id:301,
tech:“custom”,
dial:“SIP/[email protected]”,
devicetype:“fixed”,
user:“301”,
description:“301”
}){
message
status
}
}
Response code
{
“data”: {
“updateCoreDevice”: {
“message”: “Core device has been updated successfully”,
“status”: true
}
}
}
Application result
{
“data”: {
“fetchCoreDevice”: {
“deviceId”: “301”,
“tech”: “custom”,
“dial”: “/301”,
“devicetype”: “fixed”,
“user”: {
“id”: “Y29yZXVzZXI6MzAx”
},
“description”: “301”,
“emergencyCid”: “”
}
}
}
Thank you in advance