PureBasic / Zoom API / Add a webinar registrant
Back to Collection Items
IncludeFile "CkJsonObject.pb"
IncludeFile "CkStringBuilder.pb"
IncludeFile "CkHttp.pb"
IncludeFile "CkHttpResponse.pb"
IncludeFile "CkHttpRequest.pb"
Procedure ChilkatExample()
; This example assumes the Chilkat API to have been previously unlocked.
; See Global Unlock Sample for sample code.
http.i = CkHttp::ckCreate()
If http.i = 0
Debug "Failed to create object."
ProcedureReturn
EndIf
success.i
req.i = CkHttpRequest::ckCreate()
If req.i = 0
Debug "Failed to create object."
ProcedureReturn
EndIf
CkHttpRequest::setCkHttpVerb(req, "POST")
CkHttpRequest::setCkPath(req, "/")
CkHttpRequest::setCkContentType(req, "multipart/form-data")
CkHttpRequest::ckAddParam(req,"email","ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpb")
CkHttpRequest::ckAddParam(req,"first_name","ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostrud")
CkHttpRequest::ckAddParam(req,"status","ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenied")
CkHttpRequest::ckAddParam(req,"last_name","ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniam")
CkHttpRequest::ckAddParam(req,"address","ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor min")
CkHttpRequest::ckAddParam(req,"city","ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt labore")
CkHttpRequest::ckAddParam(req,"country","ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididunt")
CkHttpRequest::ckAddParam(req,"zip","ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit do")
CkHttpRequest::ckAddParam(req,"state","ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderit")
CkHttpRequest::ckAddParam(req,"phone","ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequat")
CkHttpRequest::ckAddParam(req,"industry","ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequatea in")
CkHttpRequest::ckAddParam(req,"org","ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequatea intempor")
CkHttpRequest::ckAddParam(req,"job_title","ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequatea intempordolore id mollit")
CkHttpRequest::ckAddParam(req,"purchasing_time_frame","ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequatea intempordolore id mollitWithin a month")
CkHttpRequest::ckAddParam(req,"role_in_purchase_process","ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequatea intempordolore id mollitWithin a month")
CkHttpRequest::ckAddParam(req,"no_of_employees","ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequatea intempordolore id mollitWithin a month5,001-10,000")
CkHttpRequest::ckAddParam(req,"comments","ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequatea intempordolore id mollitWithin a month5,001-10,000est veniam nostrud ut")
CkHttpRequest::ckAddParam(req,"custom_questions","ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequatea intempordolore id mollitWithin a month5,001-10,000est veniam nostrud ut[{" + Chr(34) + "title" + Chr(34) + ":" + Chr(34) + "Ut ut" + Chr(34) + "," + Chr(34) + "value" + Chr(34) + ":" + Chr(34) + "dolore mollit" + Chr(34) + "},{" + Chr(34) + "title" + Chr(34) + ":" + Chr(34) + "do officia ex pariatur" + Chr(34) + "," + Chr(34) + "value" + Chr(34) + ":" + Chr(34) + "proident" + Chr(34) + "}]")
CkHttpRequest::ckAddHeader(req,"Authorization","Bearer <access_token>")
resp.i = CkHttp::ckSynchronousRequest(http,"reprehenderit",80,0,req)
If CkHttp::ckLastMethodSuccess(http) = 0
Debug CkHttp::ckLastErrorText(http)
CkHttp::ckDispose(http)
CkHttpRequest::ckDispose(req)
ProcedureReturn
EndIf
sbResponseBody.i = CkStringBuilder::ckCreate()
If sbResponseBody.i = 0
Debug "Failed to create object."
ProcedureReturn
EndIf
CkHttpResponse::ckGetBodySb(resp,sbResponseBody)
jResp.i = CkJsonObject::ckCreate()
If jResp.i = 0
Debug "Failed to create object."
ProcedureReturn
EndIf
CkJsonObject::ckLoadSb(jResp,sbResponseBody)
CkJsonObject::setCkEmitCompact(jResp, 0)
Debug "Response Body:"
Debug CkJsonObject::ckEmit(jResp)
respStatusCode.i = CkHttpResponse::ckStatusCode(resp)
Debug "Response Status Code = " + Str(respStatusCode)
If respStatusCode >= 400
Debug "Response Header:"
Debug CkHttpResponse::ckHeader(resp)
Debug "Failed."
CkHttpResponse::ckDispose(resp)
CkHttp::ckDispose(http)
CkHttpRequest::ckDispose(req)
CkStringBuilder::ckDispose(sbResponseBody)
CkJsonObject::ckDispose(jResp)
ProcedureReturn
EndIf
CkHttpResponse::ckDispose(resp)
; Sample JSON response:
; (Sample code for parsing the JSON response is shown below)
; {
; "registrant_id": "culpa deserunt ea est commodo",
; "id": "velit dolore minim Ut",
; "topic": "et laboris Lorem in Ut",
; "start_time": "1974-02-26T23:01:16.899Z",
; "join_url": "pariatur"
; }
; Sample code for parsing the JSON response...
; Use this online tool to generate parsing code from sample JSON: Generate JSON Parsing Code
registrant_id.s = CkJsonObject::ckStringOf(jResp,"registrant_id")
id.s = CkJsonObject::ckStringOf(jResp,"id")
topic.s = CkJsonObject::ckStringOf(jResp,"topic")
start_time.s = CkJsonObject::ckStringOf(jResp,"start_time")
join_url.s = CkJsonObject::ckStringOf(jResp,"join_url")
CkHttp::ckDispose(http)
CkHttpRequest::ckDispose(req)
CkStringBuilder::ckDispose(sbResponseBody)
CkJsonObject::ckDispose(jResp)
ProcedureReturn
EndProcedure
Curl Command
curl -X POST
-H "Authorization: Bearer <access_token>"
-H "Content-Type: multipart/form-data"
--form 'email=ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpb'
--form 'first_name=ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostrud'
--form 'status=ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenied'
--form 'last_name=ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniam'
--form 'address=ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor min'
--form 'city=ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt labore'
--form 'country=ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididunt'
--form 'zip=ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit do'
--form 'state=ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderit'
--form 'phone=ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequat'
--form 'industry=ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequatea in'
--form 'org=ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequatea intempor'
--form 'job_title=ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequatea intempordolore id mollit'
--form 'purchasing_time_frame=ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequatea intempordolore id mollitWithin a month'
--form 'role_in_purchase_process=ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequatea intempordolore id mollitWithin a month'
--form 'no_of_employees=ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequatea intempordolore id mollitWithin a month5,001-10,000'
--form 'comments=ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequatea intempordolore id mollitWithin a month5,001-10,000est veniam nostrud ut'
--form 'custom_questions=ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequatea intempordolore id mollitWithin a month5,001-10,000est veniam nostrud ut[{"title":"Ut ut","value":"dolore mollit"},{"title":"do officia ex pariatur","value":"proident"}]'
https://api.zoom.us/v2/webinars/:webinarId/registrants?occurrence_ids=quis officia in reprehenderit
Postman Collection Item JSON
{
"name": "Add a webinar registrant",
"request": {
"auth": {
"type": "oauth2"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "multipart/form-data"
}
],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "email",
"value": "ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpb",
"type": "text"
},
{
"key": "first_name",
"value": "in Lorem nostrud",
"type": "text"
},
{
"key": "status",
"value": "denied",
"type": "text"
},
{
"key": "last_name",
"value": "deserunt veniam",
"type": "text"
},
{
"key": "address",
"value": "cupidatat tempor min",
"type": "text"
},
{
"key": "city",
"value": "ut deserunt labore",
"type": "text"
},
{
"key": "country",
"value": "mollit incididunt",
"type": "text"
},
{
"key": "zip",
"value": "exercitation Duis elit do",
"type": "text"
},
{
"key": "state",
"value": "sint reprehenderit",
"type": "text"
},
{
"key": "phone",
"value": "deserunt ut pariatur consequat",
"type": "text"
},
{
"key": "industry",
"value": "ea in",
"type": "text"
},
{
"key": "org",
"value": "tempor",
"type": "text"
},
{
"key": "job_title",
"value": "dolore id mollit",
"type": "text"
},
{
"key": "purchasing_time_frame",
"value": "Within a month",
"type": "text"
},
{
"key": "role_in_purchase_process",
"value": "",
"type": "text"
},
{
"key": "no_of_employees",
"value": "5,001-10,000",
"type": "text"
},
{
"key": "comments",
"value": "est veniam nostrud ut",
"type": "text"
},
{
"key": "custom_questions",
"value": "[{\"title\":\"Ut ut\",\"value\":\"dolore mollit\"},{\"title\":\"do officia ex pariatur\",\"value\":\"proident\"}]",
"type": "text"
}
]
},
"url": {
"raw": "{{baseUrl}}/webinars/:webinarId/registrants?occurrence_ids=quis officia in reprehenderit",
"host": [
"{{baseUrl}}"
],
"path": [
"webinars",
":webinarId",
"registrants"
],
"query": [
{
"key": "occurrence_ids",
"value": "quis officia in reprehenderit",
"description": "Occurrence ID. Get this value from the webinar get API. Multiple values separated by a comma."
}
],
"variable": [
{
"key": "webinarId",
"value": "68423085",
"description": "(Required) The webinar's ID."
}
]
},
"description": "Zoom users with a [Webinar Plan](https://zoom.us/webinar) have access to creating and managing Webinars. Webinar allows a host to broadcast a Zoom meeting to up to 10,000 attendees. Scheduling a [Webinar with registration](https://support.zoom.us/hc/en-us/articles/204619915-Scheduling-a-Webinar-with-Registration) requires your registrants to complete a brief form before receiving the link to join the Webinar.<br>Use this API to create and submit the registration of a user for a webinar.<br><br>\n**Scopes:** `webinar:write:admin` `webinar:write`<br>\n \n **[Rate Limit Label](https://marketplace.zoom.us/docs/api-reference/rate-limits#rate-limits):** `Light`<br>\n**Prerequisites:**\n* Pro or higher plan with a Webinar Add-on."
},
"response": [
{
"name": "**HTTP Status Code:** `201`<br>\nRegistration created.",
"originalRequest": {
"method": "POST",
"header": [
{
"description": "Added as a part of security scheme: oauth2",
"key": "Authorization",
"value": "<token>"
}
],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "email",
"value": "3uEtro@SmjrkWvqtnwJtizhCgFKllyfwdy.xuf",
"type": "text"
},
{
"key": "first_name",
"value": "nulla cillum",
"type": "text"
},
{
"key": "status",
"value": "pending",
"type": "text"
},
{
"key": "last_name",
"value": "et minim",
"type": "text"
},
{
"key": "address",
"value": "do esse",
"type": "text"
},
{
"key": "city",
"value": "occaecat eiusmod cillum cupidatat",
"type": "text"
},
{
"key": "country",
"value": "nisi magna reprehenderit dolor cillum",
"type": "text"
},
{
"key": "zip",
"value": "nisi",
"type": "text"
},
{
"key": "state",
"value": "amet ullamco proident Excepteur",
"type": "text"
},
{
"key": "phone",
"value": "sit",
"type": "text"
},
{
"key": "industry",
"value": "sit id Ut",
"type": "text"
},
{
"key": "org",
"value": "nisi",
"type": "text"
},
{
"key": "job_title",
"value": "enim dolor occaecat in",
"type": "text"
},
{
"key": "purchasing_time_frame",
"value": "Within a month",
"type": "text"
},
{
"key": "role_in_purchase_process",
"value": "Evaluator/Recommender",
"type": "text"
},
{
"key": "no_of_employees",
"value": "5,001-10,000",
"type": "text"
},
{
"key": "comments",
"value": "nostrud ",
"type": "text"
},
{
"key": "custom_questions",
"value": "[{\"title\":\"eu in veniam\",\"value\":\"qui laborum\"},{\"title\":\"in qui irure\",\"value\":\"qui nostr\"}]",
"type": "text"
}
]
},
"url": {
"raw": "{{baseUrl}}/webinars/:webinarId/registrants?occurrence_ids=quis officia in reprehenderit",
"host": [
"{{baseUrl}}"
],
"path": [
"webinars",
":webinarId",
"registrants"
],
"query": [
{
"key": "occurrence_ids",
"value": "quis officia in reprehenderit"
}
],
"variable": [
{
"key": "webinarId",
"value": "68423085",
"description": "(Required) The webinar's ID."
}
]
}
},
"status": "Created",
"code": 201,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [
],
"body": "{\n \"registrant_id\": \"culpa deserunt ea est commodo\",\n \"id\": \"velit dolore minim Ut\",\n \"topic\": \"et laboris Lorem in Ut\",\n \"start_time\": \"1974-02-26T23:01:16.899Z\",\n \"join_url\": \"pariatur\"\n}"
},
{
"name": "**HTTP Status Code:** `300`<br>Invalid webinar ID. <br>\nInvalid parameter: occurrence_ids.<br>\nInvalid user name.",
"originalRequest": {
"method": "POST",
"header": [
{
"description": "Added as a part of security scheme: oauth2",
"key": "Authorization",
"value": "<token>"
}
],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "email",
"value": "3uEtro@SmjrkWvqtnwJtizhCgFKllyfwdy.xuf",
"type": "text"
},
{
"key": "first_name",
"value": "nulla cillum",
"type": "text"
},
{
"key": "status",
"value": "pending",
"type": "text"
},
{
"key": "last_name",
"value": "et minim",
"type": "text"
},
{
"key": "address",
"value": "do esse",
"type": "text"
},
{
"key": "city",
"value": "occaecat eiusmod cillum cupidatat",
"type": "text"
},
{
"key": "country",
"value": "nisi magna reprehenderit dolor cillum",
"type": "text"
},
{
"key": "zip",
"value": "nisi",
"type": "text"
},
{
"key": "state",
"value": "amet ullamco proident Excepteur",
"type": "text"
},
{
"key": "phone",
"value": "sit",
"type": "text"
},
{
"key": "industry",
"value": "sit id Ut",
"type": "text"
},
{
"key": "org",
"value": "nisi",
"type": "text"
},
{
"key": "job_title",
"value": "enim dolor occaecat in",
"type": "text"
},
{
"key": "purchasing_time_frame",
"value": "Within a month",
"type": "text"
},
{
"key": "role_in_purchase_process",
"value": "Evaluator/Recommender",
"type": "text"
},
{
"key": "no_of_employees",
"value": "5,001-10,000",
"type": "text"
},
{
"key": "comments",
"value": "nostrud ",
"type": "text"
},
{
"key": "custom_questions",
"value": "[{\"title\":\"eu in veniam\",\"value\":\"qui laborum\"},{\"title\":\"in qui irure\",\"value\":\"qui nostr\"}]",
"type": "text"
}
]
},
"url": {
"raw": "{{baseUrl}}/webinars/:webinarId/registrants?occurrence_ids=quis officia in reprehenderit",
"host": [
"{{baseUrl}}"
],
"path": [
"webinars",
":webinarId",
"registrants"
],
"query": [
{
"key": "occurrence_ids",
"value": "quis officia in reprehenderit"
}
],
"variable": [
{
"key": "webinarId",
"value": "68423085",
"description": "(Required) The webinar's ID."
}
]
}
},
"status": "Multiple Choices",
"code": 300,
"_postman_previewlanguage": "text",
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"cookie": [
],
"body": ""
},
{
"name": "**HTTP Status Code:** `400`<br>\nBad request<br>\n**Error Code:** `1010`<br>\nUser does not belong to this account:{accountId}.<br>\n**Error Code:** `3000`<br>\nThis webinar does not have registration as required:{webinarId}.<br>\n**Error Code:** `3027`<br>\nHos",
"originalRequest": {
"method": "POST",
"header": [
{
"description": "Added as a part of security scheme: oauth2",
"key": "Authorization",
"value": "<token>"
}
],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "email",
"value": "3uEtro@SmjrkWvqtnwJtizhCgFKllyfwdy.xuf",
"type": "text"
},
{
"key": "first_name",
"value": "nulla cillum",
"type": "text"
},
{
"key": "status",
"value": "pending",
"type": "text"
},
{
"key": "last_name",
"value": "et minim",
"type": "text"
},
{
"key": "address",
"value": "do esse",
"type": "text"
},
{
"key": "city",
"value": "occaecat eiusmod cillum cupidatat",
"type": "text"
},
{
"key": "country",
"value": "nisi magna reprehenderit dolor cillum",
"type": "text"
},
{
"key": "zip",
"value": "nisi",
"type": "text"
},
{
"key": "state",
"value": "amet ullamco proident Excepteur",
"type": "text"
},
{
"key": "phone",
"value": "sit",
"type": "text"
},
{
"key": "industry",
"value": "sit id Ut",
"type": "text"
},
{
"key": "org",
"value": "nisi",
"type": "text"
},
{
"key": "job_title",
"value": "enim dolor occaecat in",
"type": "text"
},
{
"key": "purchasing_time_frame",
"value": "Within a month",
"type": "text"
},
{
"key": "role_in_purchase_process",
"value": "Evaluator/Recommender",
"type": "text"
},
{
"key": "no_of_employees",
"value": "5,001-10,000",
"type": "text"
},
{
"key": "comments",
"value": "nostrud ",
"type": "text"
},
{
"key": "custom_questions",
"value": "[{\"title\":\"eu in veniam\",\"value\":\"qui laborum\"},{\"title\":\"in qui irure\",\"value\":\"qui nostr\"}]",
"type": "text"
}
]
},
"url": {
"raw": "{{baseUrl}}/webinars/:webinarId/registrants?occurrence_ids=quis officia in reprehenderit",
"host": [
"{{baseUrl}}"
],
"path": [
"webinars",
":webinarId",
"registrants"
],
"query": [
{
"key": "occurrence_ids",
"value": "quis officia in reprehenderit"
}
],
"variable": [
{
"key": "webinarId",
"value": "68423085",
"description": "(Required) The webinar's ID."
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"cookie": [
],
"body": ""
},
{
"name": "**HTTP Status Code:** `404`<br>\nWebinar not found.<br>\n**Error Code:** `1001`<br>\nUser {userId} does not exist or does not belong to this account.<br>\n**Error Code:** `3001`<br>\nWebinar {webinarId} not found or has expired.<br>\n",
"originalRequest": {
"method": "POST",
"header": [
{
"description": "Added as a part of security scheme: oauth2",
"key": "Authorization",
"value": "<token>"
}
],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "email",
"value": "3uEtro@SmjrkWvqtnwJtizhCgFKllyfwdy.xuf",
"type": "text"
},
{
"key": "first_name",
"value": "nulla cillum",
"type": "text"
},
{
"key": "status",
"value": "pending",
"type": "text"
},
{
"key": "last_name",
"value": "et minim",
"type": "text"
},
{
"key": "address",
"value": "do esse",
"type": "text"
},
{
"key": "city",
"value": "occaecat eiusmod cillum cupidatat",
"type": "text"
},
{
"key": "country",
"value": "nisi magna reprehenderit dolor cillum",
"type": "text"
},
{
"key": "zip",
"value": "nisi",
"type": "text"
},
{
"key": "state",
"value": "amet ullamco proident Excepteur",
"type": "text"
},
{
"key": "phone",
"value": "sit",
"type": "text"
},
{
"key": "industry",
"value": "sit id Ut",
"type": "text"
},
{
"key": "org",
"value": "nisi",
"type": "text"
},
{
"key": "job_title",
"value": "enim dolor occaecat in",
"type": "text"
},
{
"key": "purchasing_time_frame",
"value": "Within a month",
"type": "text"
},
{
"key": "role_in_purchase_process",
"value": "Evaluator/Recommender",
"type": "text"
},
{
"key": "no_of_employees",
"value": "5,001-10,000",
"type": "text"
},
{
"key": "comments",
"value": "nostrud ",
"type": "text"
},
{
"key": "custom_questions",
"value": "[{\"title\":\"eu in veniam\",\"value\":\"qui laborum\"},{\"title\":\"in qui irure\",\"value\":\"qui nostr\"}]",
"type": "text"
}
]
},
"url": {
"raw": "{{baseUrl}}/webinars/:webinarId/registrants?occurrence_ids=quis officia in reprehenderit",
"host": [
"{{baseUrl}}"
],
"path": [
"webinars",
":webinarId",
"registrants"
],
"query": [
{
"key": "occurrence_ids",
"value": "quis officia in reprehenderit"
}
],
"variable": [
{
"key": "webinarId",
"value": "68423085",
"description": "(Required) The webinar's ID."
}
]
}
},
"status": "Not Found",
"code": 404,
"_postman_previewlanguage": "text",
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"cookie": [
],
"body": ""
},
{
"name": "**HTTP Status Code:** `429`<br>\nYou have exceeded the daily rate limit of \"{0}\" for **Add a webinar registrant** API requests for the registrant \"{1}\". You can resume these API requests at GMT 00:00:00.",
"originalRequest": {
"method": "POST",
"header": [
{
"description": "Added as a part of security scheme: oauth2",
"key": "Authorization",
"value": "<token>"
}
],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "email",
"value": "3uEtro@SmjrkWvqtnwJtizhCgFKllyfwdy.xuf",
"type": "text"
},
{
"key": "first_name",
"value": "nulla cillum",
"type": "text"
},
{
"key": "status",
"value": "pending",
"type": "text"
},
{
"key": "last_name",
"value": "et minim",
"type": "text"
},
{
"key": "address",
"value": "do esse",
"type": "text"
},
{
"key": "city",
"value": "occaecat eiusmod cillum cupidatat",
"type": "text"
},
{
"key": "country",
"value": "nisi magna reprehenderit dolor cillum",
"type": "text"
},
{
"key": "zip",
"value": "nisi",
"type": "text"
},
{
"key": "state",
"value": "amet ullamco proident Excepteur",
"type": "text"
},
{
"key": "phone",
"value": "sit",
"type": "text"
},
{
"key": "industry",
"value": "sit id Ut",
"type": "text"
},
{
"key": "org",
"value": "nisi",
"type": "text"
},
{
"key": "job_title",
"value": "enim dolor occaecat in",
"type": "text"
},
{
"key": "purchasing_time_frame",
"value": "Within a month",
"type": "text"
},
{
"key": "role_in_purchase_process",
"value": "Evaluator/Recommender",
"type": "text"
},
{
"key": "no_of_employees",
"value": "5,001-10,000",
"type": "text"
},
{
"key": "comments",
"value": "nostrud ",
"type": "text"
},
{
"key": "custom_questions",
"value": "[{\"title\":\"eu in veniam\",\"value\":\"qui laborum\"},{\"title\":\"in qui irure\",\"value\":\"qui nostr\"}]",
"type": "text"
}
]
},
"url": {
"raw": "{{baseUrl}}/webinars/:webinarId/registrants?occurrence_ids=quis officia in reprehenderit",
"host": [
"{{baseUrl}}"
],
"path": [
"webinars",
":webinarId",
"registrants"
],
"query": [
{
"key": "occurrence_ids",
"value": "quis officia in reprehenderit"
}
],
"variable": [
{
"key": "webinarId",
"value": "68423085",
"description": "(Required) The webinar's ID."
}
]
}
},
"status": "Too Many Requests",
"code": 429,
"_postman_previewlanguage": "text",
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"cookie": [
],
"body": ""
}
]
}