This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.
Working with Sessions in GoToWebinar
Overview
The following operations allow you to work with sessions. Click an operation name to see details on how to use it.
For a sample proxy service that illustrates how to work with sessions, see Sample configuration.
Operation | Description |
---|---|
getSessionById | Retrieves attendance details. |
listSessionAttendees | Retrieves attendee details. |
listSessions | Retrieves session details of a past webinar session. |
getOrganizerSessions | Retrieves all completed sessions of all the webinars of a given organizer. |
getSessionPerformance | Retrieves performance details for a session. |
getSessionPolls | Retrieves all collated attendee questions and answers for polls from a specific webinar session. |
getSessionQuestions | Retrieves questions and answers for a past webinar session. |
getSessionSurveys | Retrieves surveys for a past webinar session. |
Operation details
This section provides further details on the operations related to sessions.
Related GoToWebinar documentation
https://developer.citrixonline.com/content/gotowebinar-api-reference
Retrieving attendance details
The getSessionById
operation retrieves attendance details for a webinar that has ended.
<gotowebinar.getSessionById> <webinarKey>{$ctx:webinarKey}</webinarKey> <sessionKey>{$ctx:sessionKey}</sessionKey> </gotowebinar.getSessionById>
Properties
webinarKey:
Required - The ID of the webinar.sessionKey:
Required - The ID of the webinar session.
Sample request
Following is a sample REST/JSON request that can be handled by the getSessionById
operation.
{ "apiUrl":"https://api.citrixonline.com", "accessToken":"UEGGrwswKRwB07lTOr0EoppdaxKo", "organizerKey":"3697511743350317068", "clientId":"IJfcaqp3xC034WXD1GGlstejnJS41huo", "refreshToken":"MDAKxJTJ3cAdhuzavhtOFNAmV5N0m7gm", "webinarKey":"6487648931392511233", "sessionKey":"2167614" }
Retrieving attendee details
The listSessionAttendees
operation retrieves attendee details for all attendees of a webinar session.
<gotowebinar.listSessionAttendees> <webinarKey>{$ctx:webinarKey}</webinarKey> <sessionKey>{$ctx:sessionKey}</sessionKey> </gotowebinar.listSessionAttendees>
Properties
webinarKey:
Required - The ID of the webinar.sessionKey:
Required - The ID of the webinar session.
Sample request
Following is a sample REST/JSON request that can be handled by the listSessionAttendees operation.
{ "apiUrl":"https://api.citrixonline.com", "accessToken":"UEGGrwswKRwB07lTOr0EoppdaxKo", "organizerKey":"3697511743350317068", "clientId":"IJfcaqp3xC034WXD1GGlstejnJS41huo", "refreshToken":"MDAKxJTJ3cAdhuzavhtOFNAmV5N0m7gm", "webinarKey":"6487648931392511233", "sessionKey":"2167614" }
Retrieving session details
The listSessions
operation retrieves session details of a past webinar session.
<gotowebinar.listSessions> <webinarKey>{$ctx:webinarKey}</webinarKey> </gotowebinar.listSessions>
Properties
webinarKey:
Required - The ID of the webinar.
Sample request
Following is a sample REST/JSON request that can be handled by the listSessions
operation.
{ "apiUrl":"https://api.citrixonline.com", "accessToken":"UEGGrwswKRwB07lTOr0EoppdaxKo", "organizerKey":"3697511743350317068", "clientId":"IJfcaqp3xC034WXD1GGlstejnJS41huo", "refreshToken":"MDAKxJTJ3cAdhuzavhtOFNAmV5N0m7gm", "webinarKey":"6487648931392511233" }
Retrieving all completed sessions of all the webinars of an organizer
The getOrganizerSessions
operation retrieves all completed sessions of all the webinars of a given organizer.
<gotowebinar.getOrganizerSessions> <fromTime>{$ctx:fromTime}</fromTime> <toTime>{$ctx:toTime}</toTime> </gotowebinar.getOrganizerSessions>
Properties
fromTime:
toTime :
Sample request
Following is a sample REST/JSON request that can be handled by the getOrganizerSessions
operation.
{ "apiUrl":"https://api.citrixonline.com", "accessToken":"UEGGrwswKRwB07lTOr0EoppdaxKo", "organizerKey":"3697511743350317068", "clientId":"IJfcaqp3xC034WXD1GGlstejnJS41huo", "refreshToken":"MDAKxJTJ3cAdhuzavhtOFNAmV5N0m7gm", "fromTime": "2015-05-09T16:45:58Z", "toTime":"2016-05-09T16:45:58Z" }
Retrieving performance of a session
The
operation retrieves performance details for a session.getSessionPerformance
<gotowebinar.getSessionPerformance> <webinarKey>{$ctx:webinarKey}</webinarKey> <sessionKey>{$ctx:sessionKey}</sessionKey> </gotowebinar.getSessionPerformance>
Properties
webinarKey:
sessionKey:
Sample request
Following is a sample REST/JSON request that can be handled by the getSessionPerformance
operation.
{ "apiUrl":"https://api.citrixonline.com", "accessToken":"UEGGrwswKRwB07lTOr0EoppdaxKo", "organizerKey":"3697511743350317068", "clientId":"IJfcaqp3xC034WXD1GGlstejnJS41huo", "refreshToken":"MDAKxJTJ3cAdhuzavhtOFNAmV5N0m7gm", "webinarKey":"2458336850084791299", "sessionKey":"6571792" }
Retrieving questions and answers for polls of a session
The
operation retrieves all collated attendee questions and answers for polls from a specific webinar session.getSessionPolls
<gotowebinar.getSessionPolls> <webinarKey>{$ctx:webinarKey}</webinarKey> <sessionKey>{$ctx:sessionKey}</sessionKey> </gotowebinar.getSessionPolls>
Properties
webinarKey:
sessionKey:
Required - The ID of the webinar session.
Sample request
Following is a sample REST/JSON request that can be handled by the getSessionPolls
operation.
{ "apiUrl":"https://api.citrixonline.com", "accessToken":"UEGGrwswKRwB07lTOr0EoppdaxKo", "organizerKey":"3697511743350317068", "clientId":"IJfcaqp3xC034WXD1GGlstejnJS41huo", "refreshToken":"MDAKxJTJ3cAdhuzavhtOFNAmV5N0m7gm", "webinarKey":"6487648931392511233", "sessionKey": "6571792" }
Retrieving questions and answers of a session
The
operation retrieves questions and answers for a past webinar session.getSessionQuestions
<gotowebinar.getSessionQuestions> <webinarKey>{$ctx:webinarKey}</webinarKey> <sessionKey>{$ctx:sessionKey}</sessionKey> </gotowebinar.getSessionQuestions>
Properties
webinarKey:
sessionKey:
Required - The ID of the webinar session.
Sample request
Following is a sample REST/JSON request that can be handled by the getSessionQuestions
operation.
{ "apiUrl":"https://api.citrixonline.com", "accessToken":"UEGGrwswKRwB07lTOr0EoppdaxKo", "organizerKey":"3697511743350317068", "clientId":"IJfcaqp3xC034WXD1GGlstejnJS41huo", "refreshToken":"MDAKxJTJ3cAdhuzavhtOFNAmV5N0m7gm", "webinarKey":"6487648931392511233", "sessionKey":"6571792" }
Retrieving surveys of a session
The getSessionSurveys
operation retrieves surveys for a past webinar session.
<gotowebinar.getSessionSurveys> <webinarKey>{$ctx:webinarKey}</webinarKey> <sessionKey>{$ctx:sessionKey}</sessionKey> </gotowebinar.getSessionSurveys>
Properties
webinarKey:
Required - The ID of the webinar.sessionKey:
Required - The ID of the webinar session.
Sample request
Following is a sample REST/JSON request that can be handled by the getSessionSurveys
operation.
{ "apiUrl":"https://api.citrixonline.com", "accessToken":"UEGGrwswKRwB07lTOr0EoppdaxKo", "organizerKey":"3697511743350317068", "clientId":"IJfcaqp3xC034WXD1GGlstejnJS41huo", "refreshToken":"MDAKxJTJ3cAdhuzavhtOFNAmV5N0m7gm", "webinarKey":"6487648931392511233", "sessionKey":"6571792" }
Sample configuration
Following is a sample proxy service that illustrates how to connect to GoToWebinar with the init
operation and use the getSessionById
operation. The sample request for this proxy can be found in the getSessionById sample request. You can use this sample as a template for using other operations in this category.
<proxy xmlns="http://ws.apache.org/ns/synapse" name="gotowebinar_getSessionById" transports="https,http" statistics="disable" trace="disable" startOnLoad="true"> <target> <inSequence> <property name="accessToken" expression="json-eval($.accessToken)"/> <property name="organizerKey" expression="json-eval($.organizerKey)"/> <property name="apiUrl" expression="json-eval($.apiUrl)"/> <property name="refreshToken" expression="json-eval($.refreshToken)"/> <property name="clientId" expression="json-eval($.clientId)"/> <property name="registryPath" expression="json-eval($.registryPath)"/> <property name="intervalTime" expression="json-eval($.intervalTime)"/> <property name="webinarKey" expression="json-eval($.webinarKey)"/> <property name="sessionKey" expression="json-eval($.sessionKey)"/> <gotowebinar.init> <accessToken>{$ctx:accessToken}</accessToken> <organizerKey>{$ctx:organizerKey}</organizerKey> <apiUrl>{$ctx:apiUrl}</apiUrl> <refreshToken>{$ctx:refreshToken}</refreshToken> <clientId>{$ctx:clientId}</clientId> <registryPath>{$ctx:registryPath}</registryPath> <intervalTime>{$ctx:intervalTime}</intervalTime> </gotowebinar.init> <gotowebinar.getSessionById> <webinarKey>{$ctx:webinarKey}</webinarKey> <sessionKey>{$ctx:sessionKey}</sessionKey> </gotowebinar.getSessionById> <respond/> </inSequence> <outSequence> <send/> </outSequence> </target> <description/> </proxy>