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 Registrants in GoToWebinar
Overview
The following operations allow you to work with registrants. Click an operation name to see details on how to use it.
For a sample proxy service that illustrates how to work with registrants, see Sample configuration.
Operation | Description |
---|---|
Registers an attendee for a webinar. | |
getRegistrantById | Retrieves registration details for a specific registrant. |
listRegistrants | Retrieves registration details for all registrants. |
getRegistrationFields | Retrieves required and optional registration, and custom questions for a specified webinar. |
deleteRegistrant | Removes a webinar registrant from current registrations for the specified webinar. The webinar must be a scheduled and future webinar. |
Operation details
This section provides further details on the operations related to registrants.
Related GoToWebinar documentation
https://developer.citrixonline.com/content/gotowebinar-api-reference
Registering an attendee
The createRegistrant operation registers an attendee for a scheduled webinar.
<gotowebinar.createRegistrant> <lastName>{$ctx:lastName}</lastName> <phone>{$ctx:phone}</phone> <purchasingTimeFrame>{$ctx:purchasingTimeFrame}</purchasingTimeFrame> <questionsAndComments>{$ctx:questionsAndComments}</questionsAndComments> <status>{$ctx:status}</status> <state>{$ctx:state}</state> <timeZone>{$ctx:timeZone}</timeZone> <responses>{$ctx:responses}</responses> <city>{$ctx:city}</city> <country>{$ctx:country}</country> <organization>{$ctx:organization}</organization> <email>{$ctx:email}</email> <address>{$ctx:address}</address> <roleInPurchaseProcess>{$ctx:roleInPurchaseProcess}</roleInPurchaseProcess> <zipCode>{$ctx:zipCode}</zipCode> <webinarKey>{$ctx:webinarKey}</webinarKey> <numberOfEmployees>{$ctx:numberOfEmployees}</numberOfEmployees> <firstName>{$ctx:firstName}</firstName> <industry>{$ctx:industry}</industry> <jobTitle>{$ctx:jobTitle}</jobTitle> </gotowebinar.createRegistrant>
Properties
lastName:
phone:
purchasingTimeFrame:
questionsAndComments:
status:
state:
timeZone:
responses:
city:
country:
organization:
email:
address:
roleInPurchaseProcess:
zipCode:
webinarKey:
numberOfEmployees:
firstName:
industry:
jobTitle:
Sample request
Following is a sample REST/JSON request that can be handled by the
createRegistrant
operation.
{ "apiUrl":"https://api.citrixonline.com", "accessToken":"UEGGrwswKRwB07lTOr0EoppdaxKo", "organizerKey":"3697511743350317068", "clientId":"IJfcaqp3xC034WXD1GGlstejnJS41huo", "refreshToken":"MDAKxJTJ3cAdhuzavhtOFNAmV5N0m7gm", "webinarKey":"8914306278265075970", "firstName":"James", "lastName":"Goslin", "email":"samliyanage@gmail.com", "phone":"0716903611", "purchasingTimeFrame":"1-3 months", "questionsAndComments":"Questions and Comments API", "status":"APPROVED", "state":"western", "timeZone":"America/Los_Angeles", "responses":[ { "questionKey": 2001253362463398401, "responseText": "ms" } ], "city":"Colombo", "country":"Sri Lanka", "organization":"virtusa", "address":"Colombo 09", "roleInPurchaseProcess":"Not involved", "zipCode":"99999-8888", "numberOfEmployees":"1-20", "industry":"Software - Other", "jobTitle":"Marketing Tech" }
Retrieving registration details for a specific registrant
The getRegistrantById operation retrieves registration details for a specific registrant.
<gotowebinar.getRegistrantById> <webinarKey>{$ctx:webinarKey}</webinarKey> <registrantKey>{$ctx:registrantKey}</registrantKey> </gotowebinar.getRegistrantById>
Properties
webinarKey:
registrantKey:
Sample request
Following is a sample REST/JSON request that can be handled by the getRegistrantById operation.
{ "apiUrl":"https://api.citrixonline.com", "accessToken":"UEGGrwswKRwB07lTOr0EoppdaxKo", "organizerKey":"3697511743350317068", "clientId":"IJfcaqp3xC034WXD1GGlstejnJS41huo", "refreshToken":"MDAKxJTJ3cAdhuzavhtOFNAmV5N0m7gm", "webinarKey":"6737864792526581506", "registrantKey":"573616678632992257" }
Retrieving registration details for all registrants
The
operation retrieves registration details for all registrants of a specific webinar. listRegistrants
<gotowebinar.listRegistrants> <webinarKey>{$ctx:webinarKey}</webinarKey> </gotowebinar.listRegistrants>
Properties
webinarKey:
Required - The unique webinar key to retrieve the individual webinar details.
Sample request
Following is a sample REST/JSON request that can be handled by the
operation.
listRegistrants
{ "apiUrl":"https://api.citrixonline.com", "accessToken":"UEGGrwswKRwB07lTOr0EoppdaxKo", "organizerKey":"3697511743350317068", "clientId":"IJfcaqp3xC034WXD1GGlstejnJS41huo", "refreshToken":"MDAKxJTJ3cAdhuzavhtOFNAmV5N0m7gm", "webinarKey":"6737864792526581506" }
Retrieving registration fields
The getRegistrationFields
operation retrieves required, optional registration, and custom questions for a specified webinar.
<gotowebinar.getRegistrationFields> <webinarKey>{$ctx:webinarKey}</webinarKey> </gotowebinar.getRegistrationFields>
Properties
webinarKey:
Required - The unique webinar key to retrieve the individual webinar details.
Sample request
Following is a sample REST/JSON request that can be handled by the getRegistrationFields
operation.
{ "apiUrl":"https://api.citrixonline.com", "accessToken":"UEGGrwswKRwB07lTOr0EoppdaxKo", "organizerKey":"3697511743350317068", "clientId":"IJfcaqp3xC034WXD1GGlstejnJS41huo", "refreshToken":"MDAKxJTJ3cAdhuzavhtOFNAmV5N0m7gm", "webinarKey":"6737864792526581506" }
Removing a registrant from a future webinar
The deleteRegistrant
operation removes a webinar registrant from current registrations for the specified upcoming webinar.
<gotowebinar.deleteRegistrant> <webinarKey>{$ctx:webinarKey}</webinarKey> <registrantKey>{$ctx:registrantKey}</registrantKey> </gotowebinar.deleteRegistrant>
Properties
webinarKey :
Required - The unique webinar key to retrieve the individual webinar details.registrantKey:
Required - The unique registrant key to retrieve the individual registrant details.
Sample request
Following is a sample REST/JSON request that can be handled by the
operation.
deleteRegistrant
{ "apiUrl":"https://api.citrixonline.com", "accessToken":"UEGGrwswKRwB07lTOr0EoppdaxKo", "organizerKey":"3697511743350317068", "clientId":"IJfcaqp3xC034WXD1GGlstejnJS41huo", "refreshToken":"MDAKxJTJ3cAdhuzavhtOFNAmV5N0m7gm", "webinarKey":"2458336850084791299", "registrantKey":"3516094524079262721" }
Sample configuration
Following is a sample proxy service that illustrates how to connect to GoToWebinar with the init
operation and use the createRegistrant operation. The sample request for this proxy can be found in the createRegistrant 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_createRegistrant" 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="lastName" expression="json-eval($.lastName)"/> <property name="phone" expression="json-eval($.phone)"/> <property name="purchasingTimeFrame" expression="json-eval($.purchasingTimeFrame)"/> <property name="questionsAndComments" expression="json-eval($.questionsAndComments)"/> <property name="status" expression="json-eval($.status)"/> <property name="state" expression="json-eval($.state)"/> <property name="timeZone" expression="json-eval($.timeZone)"/> <property name="responses" expression="json-eval($.responses)"/> <property name="city" expression="json-eval($.city)"/> <property name="country" expression="json-eval($.country)"/> <property name="organization" expression="json-eval($.organization)"/> <property name="email" expression="json-eval($.email)"/> <property name="address" expression="json-eval($.address)"/> <property name="roleInPurchaseProcess" expression="json-eval($.roleInPurchaseProcess)"/> <property name="zipCode" expression="json-eval($.zipCode)"/> <property name="webinarKey" expression="json-eval($.webinarKey)"/> <property name="numberOfEmployees" expression="json-eval($.numberOfEmployees)"/> <property name="firstName" expression="json-eval($.firstName)"/> <property name="industry" expression="json-eval($.industry)"/> <property name="jobTitle" expression="json-eval($.jobTitle)"/> <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.createRegistrant> <lastName>{$ctx:lastName}</lastName> <phone>{$ctx:phone}</phone> <purchasingTimeFrame>{$ctx:purchasingTimeFrame}</purchasingTimeFrame> <questionsAndComments>{$ctx:questionsAndComments}</questionsAndComments> <status>{$ctx:status}</status> <state>{$ctx:state}</state> <timeZone>{$ctx:timeZone}</timeZone> <responses>{$ctx:responses}</responses> <city>{$ctx:city}</city> <country>{$ctx:country}</country> <organization>{$ctx:organization}</organization> <email>{$ctx:email}</email> <address>{$ctx:address}</address> <roleInPurchaseProcess>{$ctx:roleInPurchaseProcess}</roleInPurchaseProcess> <zipCode>{$ctx:zipCode}</zipCode> <webinarKey>{$ctx:webinarKey}</webinarKey> <numberOfEmployees>{$ctx:numberOfEmployees}</numberOfEmployees> <firstName>{$ctx:firstName}</firstName> <industry>{$ctx:industry}</industry> <jobTitle>{$ctx:jobTitle}</jobTitle> </gotowebinar.createRegistrant> <respond/> </inSequence> <outSequence> <send/> </outSequence> </target> <description/> </proxy>