dongyun9120 2014-11-07 16:13
浏览 65

GoToWebinar API缺少与会者呼叫的数据

Edit/Solution: PHP json_decode was converting and rounding the session ID's to a float.

I am making several API calls that are getting no data returned, despite what I believe to be the correct call to the GoToWebinar API service and the data showing up in the reports downloadable through the GoTo Admin Panel.

Let me start by saying I have my OAuth Token, and I am able to perform many API calls as outlined in their documentation.

Here is an example of a call to "Get Attendees From All Webinar Sessions" and a subsequent response (parsed in PHP):

Call URL:

api.citrixonline.com/G2W/rest/organizers/300000000000374239/webinars/524374823/attendees

Response:

(int) 0 => array(
    'registrantKey' => (int) 106396902,
    'sessionKey' => (float) 300000000011857664,
    'firstName' => 'xxx',
    'lastName' => 'xxx',
    'email' => 'xxx@gmail.com',
    'attendanceTimeInSeconds' => (int) 1597,
    'attendance' => array(
        (int) 0 => array(
            'leaveTime' => '2014-11-06T20:22:48Z',
            'joinTime' => '2014-11-06T19:56:11Z'
        )
    )

As you can see, it's working fine right there.

Now, when I try to call "Get Attendee Questions", I am getting an empty object being returned.

Call URL:

api.citrixonline.com/G2W/rest/organizers/300000000000374239/webinars/524374823/sessions/300000000011857664/attendees/106396902/questions

Response:

'[]'

The response is the raw response from CURL without any additional processing. As you will see, the registrantKey and sessionKey match what is in the return from the first call. Additionally, the first call would not have worked without the correct webinarKey.

For further proof, I just want to share data from a report that comes from GoToWebinar. The date stamps within it match exactly.

Join Time Nov 06, 2014 02:56 PM EST

In Session Duration* (minutes) 26.62

Leave Time Nov 06, 2014 03:22 PM EST

Registration Q & A

Q: Type of business?

A:

Questions Asked by Attendee

Q: Thank you Audrey.

A: --unanswered--

Poll Questions

Q: To continue the digital conversation, you have several options:

A: Other (use the Questions window)

Post Session Survey Questions

Q: Still have questions? Please enter them below and we will contact you back shortly.

A: Thank you. You have answered all my questions at this time.

So, I am really confused by all of this. I haven't found anything in the documentation, and Google searches haven't gotten me anywhere.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥20 我想使用一些网络协议或者部分协议也行,主要想实现类似于traceroute的一定步长内的路由拓扑功能
    • ¥30 深度学习,前后端连接
    • ¥15 孟德尔随机化结果不一致
    • ¥15 apm2.8飞控罗盘bad health,加速度计校准失败
    • ¥15 求解O-S方程的特征值问题给出边界层布拉休斯平行流的中性曲线
    • ¥15 谁有desed数据集呀
    • ¥20 手写数字识别运行c仿真时,程序报错错误代码sim211-100
    • ¥15 关于#hadoop#的问题
    • ¥15 (标签-Python|关键词-socket)
    • ¥15 keil里为什么main.c定义的函数在it.c调用不了