Chilkat Online Tools

unicodeC / Zoom API / Add a webinar registrant

Back to Collection Items

#include <C_CkHttpW.h>
#include <C_CkHttpRequestW.h>
#include <C_CkHttpResponseW.h>
#include <C_CkStringBuilderW.h>
#include <C_CkJsonObjectW.h>

void ChilkatSample(void)
    {
    HCkHttpW http;
    BOOL success;
    HCkHttpRequestW req;
    HCkHttpResponseW resp;
    HCkStringBuilderW sbResponseBody;
    HCkJsonObjectW jResp;
    int respStatusCode;
    const wchar_t *registrant_id;
    const wchar_t *id;
    const wchar_t *topic;
    const wchar_t *start_time;
    const wchar_t *join_url;

    // This example assumes the Chilkat API to have been previously unlocked.
    // See Global Unlock Sample for sample code.

    http = CkHttpW_Create();

    req = CkHttpRequestW_Create();
    CkHttpRequestW_putHttpVerb(req,L"POST");
    CkHttpRequestW_putPath(req,L"/");
    CkHttpRequestW_putContentType(req,L"multipart/form-data");
    CkHttpRequestW_AddParam(req,L"email",L"ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpb");

    CkHttpRequestW_AddParam(req,L"first_name",L"ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostrud");

    CkHttpRequestW_AddParam(req,L"status",L"ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenied");

    CkHttpRequestW_AddParam(req,L"last_name",L"ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniam");

    CkHttpRequestW_AddParam(req,L"address",L"ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor min");

    CkHttpRequestW_AddParam(req,L"city",L"ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt labore");

    CkHttpRequestW_AddParam(req,L"country",L"ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididunt");

    CkHttpRequestW_AddParam(req,L"zip",L"ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit do");

    CkHttpRequestW_AddParam(req,L"state",L"ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderit");

    CkHttpRequestW_AddParam(req,L"phone",L"ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequat");

    CkHttpRequestW_AddParam(req,L"industry",L"ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequatea in");

    CkHttpRequestW_AddParam(req,L"org",L"ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequatea intempor");

    CkHttpRequestW_AddParam(req,L"job_title",L"ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequatea intempordolore id mollit");

    CkHttpRequestW_AddParam(req,L"purchasing_time_frame",L"ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequatea intempordolore id mollitWithin a month");

    CkHttpRequestW_AddParam(req,L"role_in_purchase_process",L"ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequatea intempordolore id mollitWithin a month");

    CkHttpRequestW_AddParam(req,L"no_of_employees",L"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");

    CkHttpRequestW_AddParam(req,L"comments",L"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");

    CkHttpRequestW_AddParam(req,L"custom_questions",L"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\"}]");

    CkHttpRequestW_AddHeader(req,L"Authorization",L"Bearer <access_token>");

    resp = CkHttpW_SynchronousRequest(http,L"reprehenderit",80,FALSE,req);
    if (CkHttpW_getLastMethodSuccess(http) == FALSE) {
        wprintf(L"%s\n",CkHttpW_lastErrorText(http));
        CkHttpW_Dispose(http);
        CkHttpRequestW_Dispose(req);
        return;
    }

    sbResponseBody = CkStringBuilderW_Create();
    CkHttpResponseW_GetBodySb(resp,sbResponseBody);

    jResp = CkJsonObjectW_Create();
    CkJsonObjectW_LoadSb(jResp,sbResponseBody);
    CkJsonObjectW_putEmitCompact(jResp,FALSE);

    wprintf(L"Response Body:\n");
    wprintf(L"%s\n",CkJsonObjectW_emit(jResp));

    respStatusCode = CkHttpResponseW_getStatusCode(resp);
    wprintf(L"Response Status Code = %d\n",respStatusCode);
    if (respStatusCode >= 400) {
        wprintf(L"Response Header:\n");
        wprintf(L"%s\n",CkHttpResponseW_header(resp));
        wprintf(L"Failed.\n");
        CkHttpResponseW_Dispose(resp);
        CkHttpW_Dispose(http);
        CkHttpRequestW_Dispose(req);
        CkStringBuilderW_Dispose(sbResponseBody);
        CkJsonObjectW_Dispose(jResp);
        return;
    }

    CkHttpResponseW_Dispose(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

    // Chilkat functions returning "const char *" return a pointer to temporary internal memory owned and managed by Chilkat.

    registrant_id = CkJsonObjectW_stringOf(jResp,L"registrant_id");
    id = CkJsonObjectW_stringOf(jResp,L"id");
    topic = CkJsonObjectW_stringOf(jResp,L"topic");
    start_time = CkJsonObjectW_stringOf(jResp,L"start_time");
    join_url = CkJsonObjectW_stringOf(jResp,L"join_url");


    CkHttpW_Dispose(http);
    CkHttpRequestW_Dispose(req);
    CkStringBuilderW_Dispose(sbResponseBody);
    CkJsonObjectW_Dispose(jResp);

    }

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": ""
    }
  ]
}