Forum Categories >> PBX Setup, Call Routing, PBX Patterns, Voicemails

API Problem

Asked by PBX Setup, Call Routing, PBX Patterns, Voicemails on October 14, 2016 5:31 PM

Oct 14, 2016 5:31 pm
By: Craig Smith
On: Oct 14, 2016 5:31 pm

API Problem

<p style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; background-color: #ffffff;">Hi Support!

<p style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; background-color: #ffffff;">

<p style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; background-color: #ffffff;">My developer is trying to access API and is getting errors. First, I am not sure I am using the right API ID. I got it from the call log under the second column.

<p style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; background-color: #ffffff;">

<p style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; background-color: #ffffff;">Second, it is returning errors. We made this call:

<p style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; background-color: #ffffff;">[color=#1155cc]https://www.ringroost.com/api/<wbr />[/color]cdrs?start_date=10/14/2016&<wbr />end_date=10/14/2016&pbx_id=<wbr />6830

<p style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; background-color: #ffffff;">

<p style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; background-color: #ffffff;">and it returned

<p style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; background-color: #ffffff;">Error!: SQLSTATE[HY093]: Invalid parameter number: parameter was not defined

<p style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; background-color: #ffffff;">

<p style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; background-color: #ffffff;">Am I using the correct PBX ID? Is there something else wrong we are doing?

<p style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; background-color: #ffffff;">

<p style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; background-color: #ffffff;">Also, will inbound_from return all caller ID info including names?

<p style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; background-color: #ffffff;">

<p style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; background-color: #ffffff;">Also, is there an API to get voicemails?

<p style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; background-color: #ffffff;">

<p style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; background-color: #ffffff;">Lastly, is there a complete help video for the variables control? The one on the system cuts off after about one minute.
Stay connected with ringroost