I'm trying to change the dial information using GraphQL API Update Core Device... What am I doing wrong?

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/00000000000@1111111111”,
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

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.