Page 1 of 1

Real-Time Main Report - API

PostPosted: Thu Jul 07, 2022 8:37 am
by muratyilmaz.dev
Is there an api for the Real-Time Main Report screen ?
or
Can we see it like in the CRM IFRAME example ?

Re: Real-Time Main Report - API

PostPosted: Thu Jul 07, 2022 6:32 pm
by williamconley
There is a Non Agent API which covers ALL functions outside the agent screen.

But to put it in an iFrame would require somewhere to put it ... that's on you. 8-) Putting it in an iFrame merely requires the creation of the iFrame in question.

Re: Real-Time Main Report - API

PostPosted: Thu Jul 14, 2022 7:53 am
by muratyilmaz.dev
Thank you for the answer.

Are there all functions for VICIDIAL in this document?
So I can do everything from here, except the AGENT screen.
http://vicidial.org/docs/NON-AGENT_API.txt (Updated: 2022-03-10)

I think these will work for Realtime Report. (agent_ingroup_info, blind_monitor, agent_status)

For example, agent_status returns Successful result like this:
INCALL,M4050908070000012345,12345,TESTCAMP,1,Test Agent,AGENTS,3,LOGIN,,7275551212,123456,8600051

Already in realtime_report.php I can see that it works with api as well.

Thank you.

Re: Real-Time Main Report - API

PostPosted: Thu Jul 14, 2022 4:28 pm
by williamconley
muratyilmaz.dev wrote:Are there all functions for VICIDIAL in this document?
So I can do everything from here, except the AGENT screen.
http://vicidial.org/docs/NON-AGENT_API.txt (Updated: 2022-03-10)

I think these will work for Realtime Report. (agent_ingroup_info, blind_monitor, agent_status)

For example, agent_status returns Successful result like this:
INCALL,M4050908070000012345,12345,TESTCAMP,1,Test Agent,AGENTS,3,LOGIN,,7275551212,123456,8600051

Already in realtime_report.php I can see that it works with api as well.

Thank you.


1) I'm a little nervous about how you phrased that. The NONAgent API has all the functions that are not related directly to the agent screen. But that in NO way means it has "all functions" for Vicidial. Just the ones someone has paid to include in the API system. I'm sure there are plenty missing, but at this point all the necessary functions are in there. There is no other API system for Vicidial, just this one and the agent api.

2) As for the reference to the realtime report, I'm not sure what you're asking.

3) But I can say that any Vicidial Web Page CAN be treated like an API, if you know how to provide the necessary post/get fields. Also many of the web pages have AJAX functions (such as the RealTime Report), which request data from special php pages that could ALSO be treated as APIs if you send the proper information in your request.

If you do have a question in there, please follow jeapardy rules and form it with a Question Mark at the end. 8-)

Re: Real-Time Main Report - API

PostPosted: Thu Jul 21, 2022 6:19 am
by bbakirtas
you can make your own screen with api.