1 of 1 users consider this post helpful
PbxAdminApi - GetObject: No email address
Hello,
we use the PbxAdminApi funtion "GetObject" to retrieve information about a user. When we do this no email address is returned (but an email address is set in the user) - see response below. Can you extend the response so that the email address is also returned or is there another way to get the email address?
{
"api": "PbxAdminApi",
"mt": "GetObjectResult",
"guid": "b12fb8dbe909d3118a73000c295fcc3b",
"dn": "USER600",
"cn": "USER600",
"h323": "USER600",
"e164": "60",
"loc": "MASTER",
"node": "root",
"grp": [
{
"name": "agents"
},
{
"name": "gruppe2"
}
],
"filter": "FilterAll",
"hide": false,
"no-dev": false,
"mypbx": true,
"reporting": true,
"devices": [
{
"hw": "USER600"
}
],
"wakeups": [],
"critical": false
}
"api": "PbxAdminApi",
"mt": "GetObjectResult",
"guid": "b12fb8dbe909d3118a73000c295fcc3b",
"dn": "USER600",
"cn": "USER600",
"h323": "USER600",
"e164": "60",
"loc": "MASTER",
"node": "root",
"grp": [
{
"name": "agents"
},
{
"name": "gruppe2"
}
],
"filter": "FilterAll",
"hide": false,
"no-dev": false,
"mypbx": true,
"reporting": true,
"devices": [
{
"hw": "USER600"
}
],
"wakeups": [],
"critical": false
}
Thanks