3cx V20 API

Riaan

Silver Partner
Joined
Jul 31, 2017
Messages
18
Reaction score
2
Hi Guys,



We are busy testing the XAPI for 3cx v20.



The function we want to use is the /Users/Pbx.MakeCall.



When we look at the swagger doc it shows the following will return. Note the "Result"



{

"FinalStatus": "string",

"Reason": "string",

"ReasonText": "string",

"Result": {

"CallId": 2147483647,

"DeviceId": "string",

"DirectControl": true,

"DN": "string",

"Id": 2147483647,

"LegId": 2147483647,

"PartyCallerId": "string",

"PartyCallerName": "string",

"PartyDn": "string",

"PartyDnType": "string",

"Status": "string"

}

}


1741242332707.png


When we call the API the result part of the return data is missing. Below is what we get back from the call.



{

"@odata.context": "https://our.fqdn/xapi/v1/$metadata#Pbx.CallControlResultResponse",

"FinalStatus": "Success",

"Reason": "NotSpecified",

"ReasonText": "Dialing"

}





We are using Version 20.0 Update 5 (Build 538 Beta), and system shows we are up to date.



1741242332687.png





Postman Test



1741242924318.png



Do you guys perhaps know why it's not returning the "result" data or are we doing something wrong?

Thanks
 

Attachments

  • 1741242332695.png
    1741242332695.png
    72 KB · Views: 13
MakeCall only returns a result if the call was made from a specific device (via API.)
 

Members Online Now

Forum statistics

Threads
111,831
Messages
589,277
Members
164,660
Latest member
RJenkinsROCK