{ "item": [ { "id": "98102ed0-d9c2-4c94-b188-624210289c8b", "name": "Audience Segments", "description": { "content": "Audience Segments allow planners to segment their attendees into groups and\nbetter manage the attendee experience based on their defined segments. Audience\nSegments APIs will enable you to get, create, and update segment information.\nThese APIs will also allow you to get and update attendees associated with an\naudience segment.\n", "type": "text/plain" }, "item": [ { "id": "7825db72-26d6-42c6-9206-b7880c1dccb6", "name": "List Associated Segments", "request": { "name": "List Associated Segments", "description": { "content": "Gets a paginated list of ACTIVE audience segment associations for the attendee. Use the filter query parameter to filter by segment ID.", "type": "text/plain" }, "url": { "path": [ "attendees", ":attendeeId", "audience-segments" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": false, "key": "limit", "value": "100", "description": "The maximum number of records to return per page." }, { "disabled": false, "key": "token", "value": "", "description": "The continuation token returned from a previous class. This must be a valid UUID v4 if provided.\nThis will override any other pageable parameters provided.\n" }, { "disabled": false, "key": "filter", "value": "", "description": "Use filter query parameters to limit results\nto data that matches your criteria. See\n[Filters](https://developers.cvent.com/docs/rest-api/reference/filters) for details.\n\nSupported fields and operators are listed below:\n\n| Field | Operators |\n|------------------|-------------------------------------|\n| segment.id | `eq`, `in` |\n\nNo logical operators are supported.\n" } ], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "attendeeId", "description": "(Required) ID of an attendee." } ] }, "header": [ { "key": "Accept", "value": "application/json" } ], "method": "GET", "auth": { "type": "oauth2", "oauth2": [ { "key": "scope", "value": "account/hooks:delete account/hooks:read account/hooks:write account/user-groups:delete account/user-groups:read account/user-groups:write account/users:delete account/users:read account/users:write appointments/appointment-attendees:read appointments/appointment-events:read appointments/appointment-types:read appointments/appointments:read appointments/appointments:write appointments/available-times:read appointments/locations:read attendee-insights/attendee-insights:read attendee-insights/scores:read attendee-insights/stats:read budget/budget-items:delete budget/budget-items:read budget/budget-items:write budget/budget-totals:read budget/budget-vendors:read budget/cards:read budget/currency-conversion-rate:delete budget/currency-conversion-rate:read budget/currency-conversion-rate:write budget/payments:delete budget/payments:read budget/payments:write budget/transactions:delete budget/transactions:read budget/transactions:write bulk/bulk-jobs:read bulk/bulk-jobs:write business-transient/bids:read business-transient/proposals:read business-transient/supplier-brands:read business-transient/supplier-chains:read business-transient/supplier-properties:read business-transient/supplier-property-rooms:read business-transient/travel-accounts:read business-transient/travel-program-questions:read business-transient/travel-programs:read business-transient/travel-supplier-accounts:read business-travel/bids:read business-travel/proposals:read business-travel/travel-accounts:read business-travel/travel-program-questions:read business-travel/travel-programs:read compliance/communications:read compliance/communications:write email/bounces:read email/email-status:read email/emails:read eMarketing/campaigns:read emarketing/emarketing-email-status:read eMarketing/eMarketing-email-templates:read eMarketing/eMarketing-send-emails:write event/admission-items:read event/air-request:read event/alternate-travel:read event/attendance-durations:read event/attendee-activities-metadata:delete event/attendee-activities-metadata:read event/attendee-activities-metadata:write event/attendee-activities:read event/attendee-activities:write event/attendee-credits:read event/attendee-links:delete event/attendee-links:read event/attendee-links:write event/attendee-messages:read event/attendees:read event/attendees:write event/audience-segments:read event/audience-segments:write event/contact-groups:read event/contact-groups:write event/contact-types:read event/contacts:delete event/contacts:read event/contacts:write event/contacts:write-sensitive event/custom-fields:read event/custom-fields:write event/discounts:write event/donation-items:read event/event-discounts:read event/event-discounts:write event/event-email-status:read event/event-emails:read event/event-emails:write event/event-features:read event/event-features:write event/event-user-groups:read event/event-user-groups:write event/events:read event/events:write event/fee-items:read event/hotel-request:read event/invitation-lists:read event/meeting-request-forms:read event/meeting-requests:read event/meeting-requests:write event/membership-items:read event/orders:read event/planning-documents:read event/players:read event/process-form-submissions:read event/program-items:delete event/program-items:read event/program-items:write event/quantity-items:read event/quantity-items:write event/registration-paths:read event/registration-types:read event/registration-types:write event/role-assignments:read event/session-attendance:read event/session-attendance:write event/session-categories:read event/session-categories:write event/session-enrollment:delete event/session-enrollment:read event/session-enrollment:write event/session-segments:read event/sessions:delete event/sessions:read event/sessions:write event/speaker-categories:read event/speaker-categories:write event/speakers:delete event/speakers:read event/speakers:write event/taxes:read event/transactions:read event/transactions:write event/video-views:read event/videos:read event/videos:write event/vouchers:read event/webcasts:delete event/webcasts:read event/webcasts:write event/weblinks:read events-plus/hubs:read exhibitor/badges:read exhibitor/badges:write exhibitor/booth-staff:delete exhibitor/booth-staff:read exhibitor/booth-staff:write exhibitor/eliterature-requests:read exhibitor/exhibitor-admins:read exhibitor/exhibitor-admins:write exhibitor/exhibitor-answers:read exhibitor/exhibitor-answers:write exhibitor/exhibitor-categories:delete exhibitor/exhibitor-categories:read exhibitor/exhibitor-categories:write exhibitor/exhibitor-contents:delete exhibitor/exhibitor-contents:read exhibitor/exhibitor-contents:write exhibitor/exhibitor-questions:read exhibitor/exhibitors:delete exhibitor/exhibitors:read exhibitor/exhibitors:write exhibitor/lead-qualification-answers:read exhibitor/lead-qualification-questions:read exhibitor/leads:read exhibitor/registration-packs:delete exhibitor/registration-packs:read exhibitor/registration-packs:write exhibitor/sponsorship-levels:read file/file:read file/file:write housing/connections:write housing/hotel-room-rates:write housing/housing-event-available-nights:read housing/housing-event-hotels:read housing/housing-event-inventory:read housing/housing-event-room-types:read housing/housing-events:read housing/reservation-requests:delete housing/reservation-requests:read housing/reservation-requests:write housing/reservations-link:delete housing/reservations-link:write housing/reservations:delete housing/reservations:read housing/reservations:write onsite/signatures:read proposal/proposals:write remote-printing/badge-print-jobs:read remote-printing/badge-print-jobs:write remote-printing/badge-printer-pools:read rfp/rfp-agenda-items:read rfp/rfp-attachments:read rfp/rfp-custom-fields:read rfp/rfp-guest-rooms:read rfp/rfp-internal-documents:read rfp/rfp-lead-sources:read rfp/rfp-past-events:read rfp/rfp-questions:read rfp/rfp-recipients-history:read rfp/rfp-suppliers:read rfp/rfps:read seating/assignments:read seating/event-seatings:read seating/seats:read seating/tables:read secure-ecommerce/card-tokens:write survey/questions:read survey/respondents:read survey/responses:read survey/standard-survey-email-templates:read survey/standard-survey-email:write survey/standard-survey-questions:read survey/standard-survey-respondents:read survey/standard-survey-respondents:write survey/standard-survey-responses:read survey/standard-survey-responses:write survey/standard-surveys:read survey/survey-questions:read survey/survey-respondents:read survey/survey-respondents:write survey/survey-responses:read survey/survey-responses:write survey/surveys:read venue/meeting-room-overviews:read venue/meeting-rooms:write venue/venue-details-overview:read venue/venue-details:write venue/venue-facility:write" }, { "key": "accessTokenUrl", "value": "https://api-platform.cvent.com/ea/oauth2/token" }, { "key": "grant_type", "value": "client_credentials" } ] } }, "response": [ { "id": "bedaf997-b594-464e-a062-0dea2123b651", "name": "Successfully retrieved list of audience segments associated with the attendee.", "originalRequest": { "url": { "path": [ "attendees", ":attendeeId", "audience-segments" ], "host": [ "{{baseUrl}}" ], "query": [ { "key": "limit", "value": "100" }, { "key": "token", "value": "0e28af57-511f-47ab-ae46-46cd1ca51a1a" }, { "key": "filter", "value": "segment.id eq '313097a4-143d-11e5-9f99-d0a637ee0897'" } ], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "attendeeId", "description": "(Required) ID of an attendee." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "GET", "body": {} }, "status": "OK", "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"paging\": {\n \"_links\": {\n \"next\": {\n \"href\": \"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262\"\n },\n \"self\": {\n \"href\": \"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262\"\n },\n \"prev\": {\n \"href\": \"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262\"\n }\n },\n \"previousToken\": \"1a2b3c4d5e6f7g8h9i10j11k\",\n \"nextToken\": \"1a2b3c4d5e6f7g8h9i10j11k\",\n \"currentToken\": \"1a2b3c4d5e6f7g8h9i10j11k\",\n \"limit\": 100,\n \"totalCount\": 2\n },\n \"data\": [\n {\n \"segment\": {\n \"id\": \"b13497ea-c117-4d62-a17b-e6c14d7e49d4\"\n }\n },\n {\n \"segment\": {\n \"id\": \"b13497ea-c117-4d62-a17b-e6c14d7e49d4\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "f60e60df-6870-41a3-a754-9d737bee3fde", "name": "Bad request", "originalRequest": { "url": { "path": [ "attendees", ":attendeeId", "audience-segments" ], "host": [ "{{baseUrl}}" ], "query": [ { "key": "limit", "value": "100" }, { "key": "token", "value": "0e28af57-511f-47ab-ae46-46cd1ca51a1a" }, { "key": "filter", "value": "segment.id eq '313097a4-143d-11e5-9f99-d0a637ee0897'" } ], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "attendeeId", "description": "(Required) ID of an attendee." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "GET", "body": {} }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 400,\n \"message\": \"Bad Request\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "7ee0e03d-1d81-4835-be63-6b09ae3518f6", "name": "Bad or expired token", "originalRequest": { "url": { "path": [ "attendees", ":attendeeId", "audience-segments" ], "host": [ "{{baseUrl}}" ], "query": [ { "key": "limit", "value": "100" }, { "key": "token", "value": "0e28af57-511f-47ab-ae46-46cd1ca51a1a" }, { "key": "filter", "value": "segment.id eq '313097a4-143d-11e5-9f99-d0a637ee0897'" } ], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "attendeeId", "description": "(Required) ID of an attendee." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "GET", "body": {} }, "status": "Unauthorized", "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 401,\n \"message\": \"Unauthorized\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "f4177060-bc7d-48cc-978f-93943881883a", "name": "You do not have access to the resource", "originalRequest": { "url": { "path": [ "attendees", ":attendeeId", "audience-segments" ], "host": [ "{{baseUrl}}" ], "query": [ { "key": "limit", "value": "100" }, { "key": "token", "value": "0e28af57-511f-47ab-ae46-46cd1ca51a1a" }, { "key": "filter", "value": "segment.id eq '313097a4-143d-11e5-9f99-d0a637ee0897'" } ], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "attendeeId", "description": "(Required) ID of an attendee." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "GET", "body": {} }, "status": "Forbidden", "code": 403, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 403,\n \"message\": \"Access Forbidden\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "71d66406-dea4-49e3-bca8-8dc0ae790017", "name": "Resource not found", "originalRequest": { "url": { "path": [ "attendees", ":attendeeId", "audience-segments" ], "host": [ "{{baseUrl}}" ], "query": [ { "key": "limit", "value": "100" }, { "key": "token", "value": "0e28af57-511f-47ab-ae46-46cd1ca51a1a" }, { "key": "filter", "value": "segment.id eq '313097a4-143d-11e5-9f99-d0a637ee0897'" } ], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "attendeeId", "description": "(Required) ID of an attendee." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "GET", "body": {} }, "status": "Not Found", "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 404,\n \"message\": \"Not found\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "e84c5217-49e5-4b55-b0ac-61936bb097dc", "name": "Too many requests", "originalRequest": { "url": { "path": [ "attendees", ":attendeeId", "audience-segments" ], "host": [ "{{baseUrl}}" ], "query": [ { "key": "limit", "value": "100" }, { "key": "token", "value": "0e28af57-511f-47ab-ae46-46cd1ca51a1a" }, { "key": "filter", "value": "segment.id eq '313097a4-143d-11e5-9f99-d0a637ee0897'" } ], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "attendeeId", "description": "(Required) ID of an attendee." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "GET", "body": {} }, "status": "Too Many Requests", "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 429,\n \"message\": \"Limit Exceeded\"\n}", "cookie": [], "_postman_previewlanguage": "json" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "c23396da-0dbe-449e-9d9d-0e265bd461d4", "name": "Delete Attendee Associations", "request": { "name": "Delete Attendee Associations", "description": { "content": "disassociate an attendee from all audience segments", "type": "text/plain" }, "url": { "path": [ "attendees", ":attendeeId", "audience-segments" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "attendeeId", "description": "(Required) ID of an attendee." } ] }, "header": [ { "key": "Accept", "value": "application/json" } ], "method": "DELETE", "auth": { "type": "oauth2", "oauth2": [ { "key": "scope", "value": "account/hooks:delete account/hooks:read account/hooks:write account/user-groups:delete account/user-groups:read account/user-groups:write account/users:delete account/users:read account/users:write appointments/appointment-attendees:read appointments/appointment-events:read appointments/appointment-types:read appointments/appointments:read appointments/appointments:write appointments/available-times:read appointments/locations:read attendee-insights/attendee-insights:read attendee-insights/scores:read attendee-insights/stats:read budget/budget-items:delete budget/budget-items:read budget/budget-items:write budget/budget-totals:read budget/budget-vendors:read budget/cards:read budget/currency-conversion-rate:delete budget/currency-conversion-rate:read budget/currency-conversion-rate:write budget/payments:delete budget/payments:read budget/payments:write budget/transactions:delete budget/transactions:read budget/transactions:write bulk/bulk-jobs:read bulk/bulk-jobs:write business-transient/bids:read business-transient/proposals:read business-transient/supplier-brands:read business-transient/supplier-chains:read business-transient/supplier-properties:read business-transient/supplier-property-rooms:read business-transient/travel-accounts:read business-transient/travel-program-questions:read business-transient/travel-programs:read business-transient/travel-supplier-accounts:read business-travel/bids:read business-travel/proposals:read business-travel/travel-accounts:read business-travel/travel-program-questions:read business-travel/travel-programs:read compliance/communications:read compliance/communications:write email/bounces:read email/email-status:read email/emails:read eMarketing/campaigns:read emarketing/emarketing-email-status:read eMarketing/eMarketing-email-templates:read eMarketing/eMarketing-send-emails:write event/admission-items:read event/air-request:read event/alternate-travel:read event/attendance-durations:read event/attendee-activities-metadata:delete event/attendee-activities-metadata:read event/attendee-activities-metadata:write event/attendee-activities:read event/attendee-activities:write event/attendee-credits:read event/attendee-links:delete event/attendee-links:read event/attendee-links:write event/attendee-messages:read event/attendees:read event/attendees:write event/audience-segments:read event/audience-segments:write event/contact-groups:read event/contact-groups:write event/contact-types:read event/contacts:delete event/contacts:read event/contacts:write event/contacts:write-sensitive event/custom-fields:read event/custom-fields:write event/discounts:write event/donation-items:read event/event-discounts:read event/event-discounts:write event/event-email-status:read event/event-emails:read event/event-emails:write event/event-features:read event/event-features:write event/event-user-groups:read event/event-user-groups:write event/events:read event/events:write event/fee-items:read event/hotel-request:read event/invitation-lists:read event/meeting-request-forms:read event/meeting-requests:read event/meeting-requests:write event/membership-items:read event/orders:read event/planning-documents:read event/players:read event/process-form-submissions:read event/program-items:delete event/program-items:read event/program-items:write event/quantity-items:read event/quantity-items:write event/registration-paths:read event/registration-types:read event/registration-types:write event/role-assignments:read event/session-attendance:read event/session-attendance:write event/session-categories:read event/session-categories:write event/session-enrollment:delete event/session-enrollment:read event/session-enrollment:write event/session-segments:read event/sessions:delete event/sessions:read event/sessions:write event/speaker-categories:read event/speaker-categories:write event/speakers:delete event/speakers:read event/speakers:write event/taxes:read event/transactions:read event/transactions:write event/video-views:read event/videos:read event/videos:write event/vouchers:read event/webcasts:delete event/webcasts:read event/webcasts:write event/weblinks:read events-plus/hubs:read exhibitor/badges:read exhibitor/badges:write exhibitor/booth-staff:delete exhibitor/booth-staff:read exhibitor/booth-staff:write exhibitor/eliterature-requests:read exhibitor/exhibitor-admins:read exhibitor/exhibitor-admins:write exhibitor/exhibitor-answers:read exhibitor/exhibitor-answers:write exhibitor/exhibitor-categories:delete exhibitor/exhibitor-categories:read exhibitor/exhibitor-categories:write exhibitor/exhibitor-contents:delete exhibitor/exhibitor-contents:read exhibitor/exhibitor-contents:write exhibitor/exhibitor-questions:read exhibitor/exhibitors:delete exhibitor/exhibitors:read exhibitor/exhibitors:write exhibitor/lead-qualification-answers:read exhibitor/lead-qualification-questions:read exhibitor/leads:read exhibitor/registration-packs:delete exhibitor/registration-packs:read exhibitor/registration-packs:write exhibitor/sponsorship-levels:read file/file:read file/file:write housing/connections:write housing/hotel-room-rates:write housing/housing-event-available-nights:read housing/housing-event-hotels:read housing/housing-event-inventory:read housing/housing-event-room-types:read housing/housing-events:read housing/reservation-requests:delete housing/reservation-requests:read housing/reservation-requests:write housing/reservations-link:delete housing/reservations-link:write housing/reservations:delete housing/reservations:read housing/reservations:write onsite/signatures:read proposal/proposals:write remote-printing/badge-print-jobs:read remote-printing/badge-print-jobs:write remote-printing/badge-printer-pools:read rfp/rfp-agenda-items:read rfp/rfp-attachments:read rfp/rfp-custom-fields:read rfp/rfp-guest-rooms:read rfp/rfp-internal-documents:read rfp/rfp-lead-sources:read rfp/rfp-past-events:read rfp/rfp-questions:read rfp/rfp-recipients-history:read rfp/rfp-suppliers:read rfp/rfps:read seating/assignments:read seating/event-seatings:read seating/seats:read seating/tables:read secure-ecommerce/card-tokens:write survey/questions:read survey/respondents:read survey/responses:read survey/standard-survey-email-templates:read survey/standard-survey-email:write survey/standard-survey-questions:read survey/standard-survey-respondents:read survey/standard-survey-respondents:write survey/standard-survey-responses:read survey/standard-survey-responses:write survey/standard-surveys:read survey/survey-questions:read survey/survey-respondents:read survey/survey-respondents:write survey/survey-responses:read survey/survey-responses:write survey/surveys:read venue/meeting-room-overviews:read venue/meeting-rooms:write venue/venue-details-overview:read venue/venue-details:write venue/venue-facility:write" }, { "key": "accessTokenUrl", "value": "https://api-platform.cvent.com/ea/oauth2/token" }, { "key": "grant_type", "value": "client_credentials" } ] } }, "response": [ { "id": "0ccb43b3-979e-4d5d-99b7-fea3bbcf6975", "name": "Successfully deleted all the attendee associations.", "originalRequest": { "url": { "path": [ "attendees", ":attendeeId", "audience-segments" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "attendeeId", "description": "(Required) ID of an attendee." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" } ], "method": "DELETE", "body": {} }, "status": "No Content", "code": 204, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "56d986f4-4e17-4a3c-a12f-e4aa6ed272b0", "name": "Bad or expired token", "originalRequest": { "url": { "path": [ "attendees", ":attendeeId", "audience-segments" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "attendeeId", "description": "(Required) ID of an attendee." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "DELETE", "body": {} }, "status": "Unauthorized", "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 401,\n \"message\": \"Unauthorized\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "c90f6894-2b08-4c8f-9708-911ffe7caad6", "name": "You do not have access to the resource", "originalRequest": { "url": { "path": [ "attendees", ":attendeeId", "audience-segments" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "attendeeId", "description": "(Required) ID of an attendee." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "DELETE", "body": {} }, "status": "Forbidden", "code": 403, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 403,\n \"message\": \"Access Forbidden\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "05015d41-9380-4c3d-b6c5-4ab067f45aba", "name": "Resource not found", "originalRequest": { "url": { "path": [ "attendees", ":attendeeId", "audience-segments" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "attendeeId", "description": "(Required) ID of an attendee." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "DELETE", "body": {} }, "status": "Not Found", "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 404,\n \"message\": \"Not found\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "15819e91-a92b-490d-b040-39f0445a819b", "name": "Response 429 is required for public operations with rate limiting", "originalRequest": { "url": { "path": [ "attendees", ":attendeeId", "audience-segments" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "attendeeId", "description": "(Required) ID of an attendee." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" } ], "method": "DELETE", "body": {} }, "status": "Too Many Requests", "code": 429, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "abdb9697-d4bf-4396-a0a5-282df119c665", "name": "List Associated Segments", "request": { "name": "List Associated Segments", "description": { "content": "Gets a paginated list of ACTIVE audience segment associations for the attendee by sending filter in the body of the request. This method returns the same data as [GET List Associated Segments](#operation/listAttendeeAudienceSegments) but allows for longer filters.\n", "type": "text/plain" }, "url": { "path": [ "attendees", ":attendeeId", "audience-segments", "filter" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": false, "key": "limit", "value": "100", "description": "The maximum number of records to return per page." }, { "disabled": false, "key": "token", "value": "", "description": "The continuation token returned from a previous class. This must be a valid UUID v4 if provided.\nThis will override any other pageable parameters provided.\n" } ], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "attendeeId", "description": "(Required) ID of an attendee." } ] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "method": "POST", "auth": { "type": "oauth2", "oauth2": [ { "key": "scope", "value": "account/hooks:delete account/hooks:read account/hooks:write account/user-groups:delete account/user-groups:read account/user-groups:write account/users:delete account/users:read account/users:write appointments/appointment-attendees:read appointments/appointment-events:read appointments/appointment-types:read appointments/appointments:read appointments/appointments:write appointments/available-times:read appointments/locations:read attendee-insights/attendee-insights:read attendee-insights/scores:read attendee-insights/stats:read budget/budget-items:delete budget/budget-items:read budget/budget-items:write budget/budget-totals:read budget/budget-vendors:read budget/cards:read budget/currency-conversion-rate:delete budget/currency-conversion-rate:read budget/currency-conversion-rate:write budget/payments:delete budget/payments:read budget/payments:write budget/transactions:delete budget/transactions:read budget/transactions:write bulk/bulk-jobs:read bulk/bulk-jobs:write business-transient/bids:read business-transient/proposals:read business-transient/supplier-brands:read business-transient/supplier-chains:read business-transient/supplier-properties:read business-transient/supplier-property-rooms:read business-transient/travel-accounts:read business-transient/travel-program-questions:read business-transient/travel-programs:read business-transient/travel-supplier-accounts:read business-travel/bids:read business-travel/proposals:read business-travel/travel-accounts:read business-travel/travel-program-questions:read business-travel/travel-programs:read compliance/communications:read compliance/communications:write email/bounces:read email/email-status:read email/emails:read eMarketing/campaigns:read emarketing/emarketing-email-status:read eMarketing/eMarketing-email-templates:read eMarketing/eMarketing-send-emails:write event/admission-items:read event/air-request:read event/alternate-travel:read event/attendance-durations:read event/attendee-activities-metadata:delete event/attendee-activities-metadata:read event/attendee-activities-metadata:write event/attendee-activities:read event/attendee-activities:write event/attendee-credits:read event/attendee-links:delete event/attendee-links:read event/attendee-links:write event/attendee-messages:read event/attendees:read event/attendees:write event/audience-segments:read event/audience-segments:write event/contact-groups:read event/contact-groups:write event/contact-types:read event/contacts:delete event/contacts:read event/contacts:write event/contacts:write-sensitive event/custom-fields:read event/custom-fields:write event/discounts:write event/donation-items:read event/event-discounts:read event/event-discounts:write event/event-email-status:read event/event-emails:read event/event-emails:write event/event-features:read event/event-features:write event/event-user-groups:read event/event-user-groups:write event/events:read event/events:write event/fee-items:read event/hotel-request:read event/invitation-lists:read event/meeting-request-forms:read event/meeting-requests:read event/meeting-requests:write event/membership-items:read event/orders:read event/planning-documents:read event/players:read event/process-form-submissions:read event/program-items:delete event/program-items:read event/program-items:write event/quantity-items:read event/quantity-items:write event/registration-paths:read event/registration-types:read event/registration-types:write event/role-assignments:read event/session-attendance:read event/session-attendance:write event/session-categories:read event/session-categories:write event/session-enrollment:delete event/session-enrollment:read event/session-enrollment:write event/session-segments:read event/sessions:delete event/sessions:read event/sessions:write event/speaker-categories:read event/speaker-categories:write event/speakers:delete event/speakers:read event/speakers:write event/taxes:read event/transactions:read event/transactions:write event/video-views:read event/videos:read event/videos:write event/vouchers:read event/webcasts:delete event/webcasts:read event/webcasts:write event/weblinks:read events-plus/hubs:read exhibitor/badges:read exhibitor/badges:write exhibitor/booth-staff:delete exhibitor/booth-staff:read exhibitor/booth-staff:write exhibitor/eliterature-requests:read exhibitor/exhibitor-admins:read exhibitor/exhibitor-admins:write exhibitor/exhibitor-answers:read exhibitor/exhibitor-answers:write exhibitor/exhibitor-categories:delete exhibitor/exhibitor-categories:read exhibitor/exhibitor-categories:write exhibitor/exhibitor-contents:delete exhibitor/exhibitor-contents:read exhibitor/exhibitor-contents:write exhibitor/exhibitor-questions:read exhibitor/exhibitors:delete exhibitor/exhibitors:read exhibitor/exhibitors:write exhibitor/lead-qualification-answers:read exhibitor/lead-qualification-questions:read exhibitor/leads:read exhibitor/registration-packs:delete exhibitor/registration-packs:read exhibitor/registration-packs:write exhibitor/sponsorship-levels:read file/file:read file/file:write housing/connections:write housing/hotel-room-rates:write housing/housing-event-available-nights:read housing/housing-event-hotels:read housing/housing-event-inventory:read housing/housing-event-room-types:read housing/housing-events:read housing/reservation-requests:delete housing/reservation-requests:read housing/reservation-requests:write housing/reservations-link:delete housing/reservations-link:write housing/reservations:delete housing/reservations:read housing/reservations:write onsite/signatures:read proposal/proposals:write remote-printing/badge-print-jobs:read remote-printing/badge-print-jobs:write remote-printing/badge-printer-pools:read rfp/rfp-agenda-items:read rfp/rfp-attachments:read rfp/rfp-custom-fields:read rfp/rfp-guest-rooms:read rfp/rfp-internal-documents:read rfp/rfp-lead-sources:read rfp/rfp-past-events:read rfp/rfp-questions:read rfp/rfp-recipients-history:read rfp/rfp-suppliers:read rfp/rfps:read seating/assignments:read seating/event-seatings:read seating/seats:read seating/tables:read secure-ecommerce/card-tokens:write survey/questions:read survey/respondents:read survey/responses:read survey/standard-survey-email-templates:read survey/standard-survey-email:write survey/standard-survey-questions:read survey/standard-survey-respondents:read survey/standard-survey-respondents:write survey/standard-survey-responses:read survey/standard-survey-responses:write survey/standard-surveys:read survey/survey-questions:read survey/survey-respondents:read survey/survey-respondents:write survey/survey-responses:read survey/survey-responses:write survey/surveys:read venue/meeting-room-overviews:read venue/meeting-rooms:write venue/venue-details-overview:read venue/venue-details:write venue/venue-facility:write" }, { "key": "accessTokenUrl", "value": "https://api-platform.cvent.com/ea/oauth2/token" }, { "key": "grant_type", "value": "client_credentials" } ] }, "body": { "mode": "raw", "raw": "{\n \"filter\": \"\"\n}", "options": { "raw": { "language": "json" } } } }, "response": [ { "id": "55f98c2b-d5e8-41b6-ab17-7fb48b022284", "name": "Successfully retrieved list of audience segments associated with the attendee.", "originalRequest": { "url": { "path": [ "attendees", ":attendeeId", "audience-segments", "filter" ], "host": [ "{{baseUrl}}" ], "query": [ { "key": "limit", "value": "100" }, { "key": "token", "value": "0e28af57-511f-47ab-ae46-46cd1ca51a1a" } ], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "attendeeId", "description": "(Required) ID of an attendee." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"filter\": \"segment.id in ('313097a4-143d-11e5-9f99-d0a637ee0897', '423097a4-143d-11e5-9f99-d0a637ee0897')\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "OK", "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"paging\": {\n \"_links\": {\n \"next\": {\n \"href\": \"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262\"\n },\n \"self\": {\n \"href\": \"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262\"\n },\n \"prev\": {\n \"href\": \"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262\"\n }\n },\n \"previousToken\": \"1a2b3c4d5e6f7g8h9i10j11k\",\n \"nextToken\": \"1a2b3c4d5e6f7g8h9i10j11k\",\n \"currentToken\": \"1a2b3c4d5e6f7g8h9i10j11k\",\n \"limit\": 100,\n \"totalCount\": 2\n },\n \"data\": [\n {\n \"segment\": {\n \"id\": \"b13497ea-c117-4d62-a17b-e6c14d7e49d4\"\n }\n },\n {\n \"segment\": {\n \"id\": \"b13497ea-c117-4d62-a17b-e6c14d7e49d4\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "701a4366-8c61-4ba9-885f-0ad7009437e0", "name": "Bad request", "originalRequest": { "url": { "path": [ "attendees", ":attendeeId", "audience-segments", "filter" ], "host": [ "{{baseUrl}}" ], "query": [ { "key": "limit", "value": "100" }, { "key": "token", "value": "0e28af57-511f-47ab-ae46-46cd1ca51a1a" } ], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "attendeeId", "description": "(Required) ID of an attendee." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"filter\": \"segment.id in ('313097a4-143d-11e5-9f99-d0a637ee0897', '423097a4-143d-11e5-9f99-d0a637ee0897')\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 400,\n \"message\": \"Bad Request\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "179f7972-5c2e-40c5-a899-f61feff5f2d0", "name": "Bad or expired token", "originalRequest": { "url": { "path": [ "attendees", ":attendeeId", "audience-segments", "filter" ], "host": [ "{{baseUrl}}" ], "query": [ { "key": "limit", "value": "100" }, { "key": "token", "value": "0e28af57-511f-47ab-ae46-46cd1ca51a1a" } ], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "attendeeId", "description": "(Required) ID of an attendee." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"filter\": \"segment.id in ('313097a4-143d-11e5-9f99-d0a637ee0897', '423097a4-143d-11e5-9f99-d0a637ee0897')\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Unauthorized", "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 401,\n \"message\": \"Unauthorized\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "d5118ded-8473-4009-81b3-d6191a6c3742", "name": "You do not have access to the resource", "originalRequest": { "url": { "path": [ "attendees", ":attendeeId", "audience-segments", "filter" ], "host": [ "{{baseUrl}}" ], "query": [ { "key": "limit", "value": "100" }, { "key": "token", "value": "0e28af57-511f-47ab-ae46-46cd1ca51a1a" } ], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "attendeeId", "description": "(Required) ID of an attendee." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"filter\": \"segment.id in ('313097a4-143d-11e5-9f99-d0a637ee0897', '423097a4-143d-11e5-9f99-d0a637ee0897')\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Forbidden", "code": 403, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 403,\n \"message\": \"Access Forbidden\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "01301b1d-7a38-4baf-be74-1149c2a5b1ca", "name": "Resource not found", "originalRequest": { "url": { "path": [ "attendees", ":attendeeId", "audience-segments", "filter" ], "host": [ "{{baseUrl}}" ], "query": [ { "key": "limit", "value": "100" }, { "key": "token", "value": "0e28af57-511f-47ab-ae46-46cd1ca51a1a" } ], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "attendeeId", "description": "(Required) ID of an attendee." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"filter\": \"segment.id in ('313097a4-143d-11e5-9f99-d0a637ee0897', '423097a4-143d-11e5-9f99-d0a637ee0897')\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Not Found", "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 404,\n \"message\": \"Not found\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "8f350174-5d69-450f-b3ad-18f07766a543", "name": "Too many requests", "originalRequest": { "url": { "path": [ "attendees", ":attendeeId", "audience-segments", "filter" ], "host": [ "{{baseUrl}}" ], "query": [ { "key": "limit", "value": "100" }, { "key": "token", "value": "0e28af57-511f-47ab-ae46-46cd1ca51a1a" } ], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "attendeeId", "description": "(Required) ID of an attendee." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"filter\": \"segment.id in ('313097a4-143d-11e5-9f99-d0a637ee0897', '423097a4-143d-11e5-9f99-d0a637ee0897')\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Too Many Requests", "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 429,\n \"message\": \"Limit Exceeded\"\n}", "cookie": [], "_postman_previewlanguage": "json" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "ad677deb-6451-4138-bc12-f3b9c71af590", "name": "Create Audience Segment", "request": { "name": "Create Audience Segment", "description": { "content": "Creates an audience segment in the given event based on the details supplied in the request body.", "type": "text/plain" }, "url": { "path": [ "audience-segments" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "method": "POST", "auth": { "type": "oauth2", "oauth2": [ { "key": "scope", "value": "account/hooks:delete account/hooks:read account/hooks:write account/user-groups:delete account/user-groups:read account/user-groups:write account/users:delete account/users:read account/users:write appointments/appointment-attendees:read appointments/appointment-events:read appointments/appointment-types:read appointments/appointments:read appointments/appointments:write appointments/available-times:read appointments/locations:read attendee-insights/attendee-insights:read attendee-insights/scores:read attendee-insights/stats:read budget/budget-items:delete budget/budget-items:read budget/budget-items:write budget/budget-totals:read budget/budget-vendors:read budget/cards:read budget/currency-conversion-rate:delete budget/currency-conversion-rate:read budget/currency-conversion-rate:write budget/payments:delete budget/payments:read budget/payments:write budget/transactions:delete budget/transactions:read budget/transactions:write bulk/bulk-jobs:read bulk/bulk-jobs:write business-transient/bids:read business-transient/proposals:read business-transient/supplier-brands:read business-transient/supplier-chains:read business-transient/supplier-properties:read business-transient/supplier-property-rooms:read business-transient/travel-accounts:read business-transient/travel-program-questions:read business-transient/travel-programs:read business-transient/travel-supplier-accounts:read business-travel/bids:read business-travel/proposals:read business-travel/travel-accounts:read business-travel/travel-program-questions:read business-travel/travel-programs:read compliance/communications:read compliance/communications:write email/bounces:read email/email-status:read email/emails:read eMarketing/campaigns:read emarketing/emarketing-email-status:read eMarketing/eMarketing-email-templates:read eMarketing/eMarketing-send-emails:write event/admission-items:read event/air-request:read event/alternate-travel:read event/attendance-durations:read event/attendee-activities-metadata:delete event/attendee-activities-metadata:read event/attendee-activities-metadata:write event/attendee-activities:read event/attendee-activities:write event/attendee-credits:read event/attendee-links:delete event/attendee-links:read event/attendee-links:write event/attendee-messages:read event/attendees:read event/attendees:write event/audience-segments:read event/audience-segments:write event/contact-groups:read event/contact-groups:write event/contact-types:read event/contacts:delete event/contacts:read event/contacts:write event/contacts:write-sensitive event/custom-fields:read event/custom-fields:write event/discounts:write event/donation-items:read event/event-discounts:read event/event-discounts:write event/event-email-status:read event/event-emails:read event/event-emails:write event/event-features:read event/event-features:write event/event-user-groups:read event/event-user-groups:write event/events:read event/events:write event/fee-items:read event/hotel-request:read event/invitation-lists:read event/meeting-request-forms:read event/meeting-requests:read event/meeting-requests:write event/membership-items:read event/orders:read event/planning-documents:read event/players:read event/process-form-submissions:read event/program-items:delete event/program-items:read event/program-items:write event/quantity-items:read event/quantity-items:write event/registration-paths:read event/registration-types:read event/registration-types:write event/role-assignments:read event/session-attendance:read event/session-attendance:write event/session-categories:read event/session-categories:write event/session-enrollment:delete event/session-enrollment:read event/session-enrollment:write event/session-segments:read event/sessions:delete event/sessions:read event/sessions:write event/speaker-categories:read event/speaker-categories:write event/speakers:delete event/speakers:read event/speakers:write event/taxes:read event/transactions:read event/transactions:write event/video-views:read event/videos:read event/videos:write event/vouchers:read event/webcasts:delete event/webcasts:read event/webcasts:write event/weblinks:read events-plus/hubs:read exhibitor/badges:read exhibitor/badges:write exhibitor/booth-staff:delete exhibitor/booth-staff:read exhibitor/booth-staff:write exhibitor/eliterature-requests:read exhibitor/exhibitor-admins:read exhibitor/exhibitor-admins:write exhibitor/exhibitor-answers:read exhibitor/exhibitor-answers:write exhibitor/exhibitor-categories:delete exhibitor/exhibitor-categories:read exhibitor/exhibitor-categories:write exhibitor/exhibitor-contents:delete exhibitor/exhibitor-contents:read exhibitor/exhibitor-contents:write exhibitor/exhibitor-questions:read exhibitor/exhibitors:delete exhibitor/exhibitors:read exhibitor/exhibitors:write exhibitor/lead-qualification-answers:read exhibitor/lead-qualification-questions:read exhibitor/leads:read exhibitor/registration-packs:delete exhibitor/registration-packs:read exhibitor/registration-packs:write exhibitor/sponsorship-levels:read file/file:read file/file:write housing/connections:write housing/hotel-room-rates:write housing/housing-event-available-nights:read housing/housing-event-hotels:read housing/housing-event-inventory:read housing/housing-event-room-types:read housing/housing-events:read housing/reservation-requests:delete housing/reservation-requests:read housing/reservation-requests:write housing/reservations-link:delete housing/reservations-link:write housing/reservations:delete housing/reservations:read housing/reservations:write onsite/signatures:read proposal/proposals:write remote-printing/badge-print-jobs:read remote-printing/badge-print-jobs:write remote-printing/badge-printer-pools:read rfp/rfp-agenda-items:read rfp/rfp-attachments:read rfp/rfp-custom-fields:read rfp/rfp-guest-rooms:read rfp/rfp-internal-documents:read rfp/rfp-lead-sources:read rfp/rfp-past-events:read rfp/rfp-questions:read rfp/rfp-recipients-history:read rfp/rfp-suppliers:read rfp/rfps:read seating/assignments:read seating/event-seatings:read seating/seats:read seating/tables:read secure-ecommerce/card-tokens:write survey/questions:read survey/respondents:read survey/responses:read survey/standard-survey-email-templates:read survey/standard-survey-email:write survey/standard-survey-questions:read survey/standard-survey-respondents:read survey/standard-survey-respondents:write survey/standard-survey-responses:read survey/standard-survey-responses:write survey/standard-surveys:read survey/survey-questions:read survey/survey-respondents:read survey/survey-respondents:write survey/survey-responses:read survey/survey-responses:write survey/surveys:read venue/meeting-room-overviews:read venue/meeting-rooms:write venue/venue-details-overview:read venue/venue-details:write venue/venue-facility:write" }, { "key": "accessTokenUrl", "value": "https://api-platform.cvent.com/ea/oauth2/token" }, { "key": "grant_type", "value": "client_credentials" } ] }, "body": { "mode": "raw", "raw": "{\n \"event\": {\n \"id\": \"\"\n },\n \"name\": \"\",\n \"creationType\": \"MANUAL\",\n \"description\": \"\"\n}", "options": { "raw": { "language": "json" } } } }, "response": [ { "id": "709002c4-42b0-4fec-8aaf-d20bbaf4e2e5", "name": "Successfully created an audience segment.", "originalRequest": { "url": { "path": [ "audience-segments" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"event\": {\n \"id\": \"103097a4-143d-11e5-9f99-d0a637ee0032\"\n },\n \"name\": \"VIP Attendees\",\n \"creationType\": \"MANUAL\",\n \"description\": \"A group of VIP attendees.\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Created", "code": 201, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"event\": {\n \"id\": \"103097a4-143d-11e5-9f99-d0a637ee0032\"\n },\n \"name\": \"VIP Attendees\",\n \"id\": \"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3\",\n \"creationType\": \"MANUAL\",\n \"deleted\": true,\n \"description\": \"A group of VIP attendees.\",\n \"created\": \"2017-01-02T02:00:00Z\",\n \"createdBy\": \"hporter\",\n \"lastModified\": \"2019-02-12T03:00:00Z\",\n \"lastModifiedBy\": \"hporter\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "ab657853-4784-47f3-840d-b1e130465681", "name": "Segments error response details.", "originalRequest": { "url": { "path": [ "audience-segments" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"event\": {\n \"id\": \"103097a4-143d-11e5-9f99-d0a637ee0032\"\n },\n \"name\": \"VIP Attendees\",\n \"creationType\": \"MANUAL\",\n \"description\": \"A group of VIP attendees.\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 400,\n \"message\": \"Bad Request\",\n \"validationCode\": \"SEGMENTS_PER_EVENT_LIMIT_REACHED\",\n \"details\": [\n {\n \"code\": 400,\n \"message\": \"Bad Request\",\n \"target\": \"example target\"\n },\n {\n \"code\": 400,\n \"message\": \"Bad Request\",\n \"target\": \"example target\"\n }\n ],\n \"target\": \"example target\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "9175bc83-7009-4ee5-be13-265773da8fa5", "name": "Bad or expired token", "originalRequest": { "url": { "path": [ "audience-segments" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"event\": {\n \"id\": \"103097a4-143d-11e5-9f99-d0a637ee0032\"\n },\n \"name\": \"VIP Attendees\",\n \"creationType\": \"MANUAL\",\n \"description\": \"A group of VIP attendees.\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Unauthorized", "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 401,\n \"message\": \"Unauthorized\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "7118348b-b8e2-49e5-a854-d5e382d59ca3", "name": "You do not have access to the resource", "originalRequest": { "url": { "path": [ "audience-segments" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"event\": {\n \"id\": \"103097a4-143d-11e5-9f99-d0a637ee0032\"\n },\n \"name\": \"VIP Attendees\",\n \"creationType\": \"MANUAL\",\n \"description\": \"A group of VIP attendees.\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Forbidden", "code": 403, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 403,\n \"message\": \"Access Forbidden\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "2882fae1-94fc-4fb5-9348-82a7732765da", "name": "Was not able to process the request.", "originalRequest": { "url": { "path": [ "audience-segments" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"event\": {\n \"id\": \"103097a4-143d-11e5-9f99-d0a637ee0032\"\n },\n \"name\": \"VIP Attendees\",\n \"creationType\": \"MANUAL\",\n \"description\": \"A group of VIP attendees.\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 422,\n \"message\": \"Unprocessable Entity\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "02888a18-988c-43f6-9ed2-bdb561da86fe", "name": "Too many requests", "originalRequest": { "url": { "path": [ "audience-segments" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"event\": {\n \"id\": \"103097a4-143d-11e5-9f99-d0a637ee0032\"\n },\n \"name\": \"VIP Attendees\",\n \"creationType\": \"MANUAL\",\n \"description\": \"A group of VIP attendees.\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Too Many Requests", "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 429,\n \"message\": \"Limit Exceeded\"\n}", "cookie": [], "_postman_previewlanguage": "json" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "6e809519-abba-4f91-8333-06d2ae45ef64", "name": "List Audience Segments", "request": { "name": "List Audience Segments", "description": { "content": "Gets a paginated list of audience segments for your account. By default,\nthe results include all segments present, at the account level, unless you specify\notherwise using the filter query parameter.\n", "type": "text/plain" }, "url": { "path": [ "audience-segments" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": false, "key": "limit", "value": "100", "description": "The maximum number of records to return per page." }, { "disabled": false, "key": "token", "value": "", "description": "The continuation token returned from a previous class. This must be a valid UUID v4 if provided.\nThis will override any other pageable parameters provided.\n" }, { "disabled": false, "key": "sort", "value": "", "description": "The sort order passed as a parameter, used to control the order of the\nsearch results as a priority ordered list of sorts. By default, data is sorted by lastModified ASC.\n\nThere are two orders:\n * ascending: ASC\n * descending: DESC\n\nThe following fields are sortable:\n * name\n * lastModified\n * lastModifiedBy\n * creationType\n" }, { "disabled": false, "key": "filter", "value": "", "description": "(Required) Use filter query parameters to limit results\nto data that matches your criteria. See\n[Filters](https://developers.cvent.com/docs/rest-api/reference/filters) for details.\n\nSupported fields and operators are listed below:\n\n| Field | Operators | Notes |\n|------------------|-------------------------------------|-------------------------------------------------------|\n| event.id | `eq`, `in` | Filters the list of all segments present in an event. |\n| id | `eq`, `in` | |\n| deleted | `eq` | |\n| creationType | `eq`, `in` | |\n\nThe following logical operators are supported for combining filters:\n* and\n" }, { "disabled": false, "key": "before", "value": "", "description": "Used to query records that have been added or updated before this time point." }, { "disabled": false, "key": "after", "value": "", "description": "Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store." } ], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" } ], "method": "GET", "auth": { "type": "oauth2", "oauth2": [ { "key": "scope", "value": "account/hooks:delete account/hooks:read account/hooks:write account/user-groups:delete account/user-groups:read account/user-groups:write account/users:delete account/users:read account/users:write appointments/appointment-attendees:read appointments/appointment-events:read appointments/appointment-types:read appointments/appointments:read appointments/appointments:write appointments/available-times:read appointments/locations:read attendee-insights/attendee-insights:read attendee-insights/scores:read attendee-insights/stats:read budget/budget-items:delete budget/budget-items:read budget/budget-items:write budget/budget-totals:read budget/budget-vendors:read budget/cards:read budget/currency-conversion-rate:delete budget/currency-conversion-rate:read budget/currency-conversion-rate:write budget/payments:delete budget/payments:read budget/payments:write budget/transactions:delete budget/transactions:read budget/transactions:write bulk/bulk-jobs:read bulk/bulk-jobs:write business-transient/bids:read business-transient/proposals:read business-transient/supplier-brands:read business-transient/supplier-chains:read business-transient/supplier-properties:read business-transient/supplier-property-rooms:read business-transient/travel-accounts:read business-transient/travel-program-questions:read business-transient/travel-programs:read business-transient/travel-supplier-accounts:read business-travel/bids:read business-travel/proposals:read business-travel/travel-accounts:read business-travel/travel-program-questions:read business-travel/travel-programs:read compliance/communications:read compliance/communications:write email/bounces:read email/email-status:read email/emails:read eMarketing/campaigns:read emarketing/emarketing-email-status:read eMarketing/eMarketing-email-templates:read eMarketing/eMarketing-send-emails:write event/admission-items:read event/air-request:read event/alternate-travel:read event/attendance-durations:read event/attendee-activities-metadata:delete event/attendee-activities-metadata:read event/attendee-activities-metadata:write event/attendee-activities:read event/attendee-activities:write event/attendee-credits:read event/attendee-links:delete event/attendee-links:read event/attendee-links:write event/attendee-messages:read event/attendees:read event/attendees:write event/audience-segments:read event/audience-segments:write event/contact-groups:read event/contact-groups:write event/contact-types:read event/contacts:delete event/contacts:read event/contacts:write event/contacts:write-sensitive event/custom-fields:read event/custom-fields:write event/discounts:write event/donation-items:read event/event-discounts:read event/event-discounts:write event/event-email-status:read event/event-emails:read event/event-emails:write event/event-features:read event/event-features:write event/event-user-groups:read event/event-user-groups:write event/events:read event/events:write event/fee-items:read event/hotel-request:read event/invitation-lists:read event/meeting-request-forms:read event/meeting-requests:read event/meeting-requests:write event/membership-items:read event/orders:read event/planning-documents:read event/players:read event/process-form-submissions:read event/program-items:delete event/program-items:read event/program-items:write event/quantity-items:read event/quantity-items:write event/registration-paths:read event/registration-types:read event/registration-types:write event/role-assignments:read event/session-attendance:read event/session-attendance:write event/session-categories:read event/session-categories:write event/session-enrollment:delete event/session-enrollment:read event/session-enrollment:write event/session-segments:read event/sessions:delete event/sessions:read event/sessions:write event/speaker-categories:read event/speaker-categories:write event/speakers:delete event/speakers:read event/speakers:write event/taxes:read event/transactions:read event/transactions:write event/video-views:read event/videos:read event/videos:write event/vouchers:read event/webcasts:delete event/webcasts:read event/webcasts:write event/weblinks:read events-plus/hubs:read exhibitor/badges:read exhibitor/badges:write exhibitor/booth-staff:delete exhibitor/booth-staff:read exhibitor/booth-staff:write exhibitor/eliterature-requests:read exhibitor/exhibitor-admins:read exhibitor/exhibitor-admins:write exhibitor/exhibitor-answers:read exhibitor/exhibitor-answers:write exhibitor/exhibitor-categories:delete exhibitor/exhibitor-categories:read exhibitor/exhibitor-categories:write exhibitor/exhibitor-contents:delete exhibitor/exhibitor-contents:read exhibitor/exhibitor-contents:write exhibitor/exhibitor-questions:read exhibitor/exhibitors:delete exhibitor/exhibitors:read exhibitor/exhibitors:write exhibitor/lead-qualification-answers:read exhibitor/lead-qualification-questions:read exhibitor/leads:read exhibitor/registration-packs:delete exhibitor/registration-packs:read exhibitor/registration-packs:write exhibitor/sponsorship-levels:read file/file:read file/file:write housing/connections:write housing/hotel-room-rates:write housing/housing-event-available-nights:read housing/housing-event-hotels:read housing/housing-event-inventory:read housing/housing-event-room-types:read housing/housing-events:read housing/reservation-requests:delete housing/reservation-requests:read housing/reservation-requests:write housing/reservations-link:delete housing/reservations-link:write housing/reservations:delete housing/reservations:read housing/reservations:write onsite/signatures:read proposal/proposals:write remote-printing/badge-print-jobs:read remote-printing/badge-print-jobs:write remote-printing/badge-printer-pools:read rfp/rfp-agenda-items:read rfp/rfp-attachments:read rfp/rfp-custom-fields:read rfp/rfp-guest-rooms:read rfp/rfp-internal-documents:read rfp/rfp-lead-sources:read rfp/rfp-past-events:read rfp/rfp-questions:read rfp/rfp-recipients-history:read rfp/rfp-suppliers:read rfp/rfps:read seating/assignments:read seating/event-seatings:read seating/seats:read seating/tables:read secure-ecommerce/card-tokens:write survey/questions:read survey/respondents:read survey/responses:read survey/standard-survey-email-templates:read survey/standard-survey-email:write survey/standard-survey-questions:read survey/standard-survey-respondents:read survey/standard-survey-respondents:write survey/standard-survey-responses:read survey/standard-survey-responses:write survey/standard-surveys:read survey/survey-questions:read survey/survey-respondents:read survey/survey-respondents:write survey/survey-responses:read survey/survey-responses:write survey/surveys:read venue/meeting-room-overviews:read venue/meeting-rooms:write venue/venue-details-overview:read venue/venue-details:write venue/venue-facility:write" }, { "key": "accessTokenUrl", "value": "https://api-platform.cvent.com/ea/oauth2/token" }, { "key": "grant_type", "value": "client_credentials" } ] } }, "response": [ { "id": "41de1f11-e8b1-4328-b2d3-d6367a88b2a8", "name": "Successfully retrieved list of audience segments.", "originalRequest": { "url": { "path": [ "audience-segments" ], "host": [ "{{baseUrl}}" ], "query": [ { "key": "limit", "value": "100" }, { "key": "token", "value": "0e28af57-511f-47ab-ae46-46cd1ca51a1a" }, { "key": "sort", "value": "lastModifiedBy:DESC" }, { "key": "filter", "value": "event.id eq '103097a4-143d-11e5-9f99-d0a637ee0032' and id in ('313097a4-143d-11e5-9f99-d0a637ee0897','423097a4-143d-11e5-9f99-d0a637ee0897') and deleted eq 'false' and creationType eq 'MANUAL'" }, { "key": "before", "value": "2017-01-02T02:00:00Z" }, { "key": "after", "value": "2017-01-02T02:00:00Z" } ], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "GET", "body": {} }, "status": "OK", "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"paging\": {\n \"_links\": {\n \"next\": {\n \"href\": \"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262\"\n },\n \"self\": {\n \"href\": \"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262\"\n },\n \"prev\": {\n \"href\": \"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262\"\n }\n },\n \"previousToken\": \"1a2b3c4d5e6f7g8h9i10j11k\",\n \"nextToken\": \"1a2b3c4d5e6f7g8h9i10j11k\",\n \"currentToken\": \"1a2b3c4d5e6f7g8h9i10j11k\",\n \"limit\": 100,\n \"totalCount\": 2\n },\n \"data\": [\n {\n \"event\": {\n \"id\": \"103097a4-143d-11e5-9f99-d0a637ee0032\"\n },\n \"name\": \"VIP Attendees\",\n \"id\": \"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3\",\n \"creationType\": \"MANUAL\",\n \"deleted\": true,\n \"description\": \"A group of VIP attendees.\",\n \"created\": \"2017-01-02T02:00:00Z\",\n \"createdBy\": \"hporter\",\n \"lastModified\": \"2019-02-12T03:00:00Z\",\n \"lastModifiedBy\": \"hporter\"\n },\n {\n \"event\": {\n \"id\": \"103097a4-143d-11e5-9f99-d0a637ee0032\"\n },\n \"name\": \"VIP Attendees\",\n \"id\": \"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3\",\n \"creationType\": \"MANUAL\",\n \"deleted\": true,\n \"description\": \"A group of VIP attendees.\",\n \"created\": \"2017-01-02T02:00:00Z\",\n \"createdBy\": \"hporter\",\n \"lastModified\": \"2019-02-12T03:00:00Z\",\n \"lastModifiedBy\": \"hporter\"\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "6ff7dd5d-3145-4914-afcc-d378b3c8e9b1", "name": "Bad request", "originalRequest": { "url": { "path": [ "audience-segments" ], "host": [ "{{baseUrl}}" ], "query": [ { "key": "limit", "value": "100" }, { "key": "token", "value": "0e28af57-511f-47ab-ae46-46cd1ca51a1a" }, { "key": "sort", "value": "lastModifiedBy:DESC" }, { "key": "filter", "value": "event.id eq '103097a4-143d-11e5-9f99-d0a637ee0032' and id in ('313097a4-143d-11e5-9f99-d0a637ee0897','423097a4-143d-11e5-9f99-d0a637ee0897') and deleted eq 'false' and creationType eq 'MANUAL'" }, { "key": "before", "value": "2017-01-02T02:00:00Z" }, { "key": "after", "value": "2017-01-02T02:00:00Z" } ], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "GET", "body": {} }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 400,\n \"message\": \"Bad Request\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "17ffbe04-4a3b-49b5-8149-4ce5429fb0d0", "name": "Bad or expired token", "originalRequest": { "url": { "path": [ "audience-segments" ], "host": [ "{{baseUrl}}" ], "query": [ { "key": "limit", "value": "100" }, { "key": "token", "value": "0e28af57-511f-47ab-ae46-46cd1ca51a1a" }, { "key": "sort", "value": "lastModifiedBy:DESC" }, { "key": "filter", "value": "event.id eq '103097a4-143d-11e5-9f99-d0a637ee0032' and id in ('313097a4-143d-11e5-9f99-d0a637ee0897','423097a4-143d-11e5-9f99-d0a637ee0897') and deleted eq 'false' and creationType eq 'MANUAL'" }, { "key": "before", "value": "2017-01-02T02:00:00Z" }, { "key": "after", "value": "2017-01-02T02:00:00Z" } ], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "GET", "body": {} }, "status": "Unauthorized", "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 401,\n \"message\": \"Unauthorized\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "8791920e-55f0-4193-a954-993736a50f7f", "name": "You do not have access to the resource", "originalRequest": { "url": { "path": [ "audience-segments" ], "host": [ "{{baseUrl}}" ], "query": [ { "key": "limit", "value": "100" }, { "key": "token", "value": "0e28af57-511f-47ab-ae46-46cd1ca51a1a" }, { "key": "sort", "value": "lastModifiedBy:DESC" }, { "key": "filter", "value": "event.id eq '103097a4-143d-11e5-9f99-d0a637ee0032' and id in ('313097a4-143d-11e5-9f99-d0a637ee0897','423097a4-143d-11e5-9f99-d0a637ee0897') and deleted eq 'false' and creationType eq 'MANUAL'" }, { "key": "before", "value": "2017-01-02T02:00:00Z" }, { "key": "after", "value": "2017-01-02T02:00:00Z" } ], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "GET", "body": {} }, "status": "Forbidden", "code": 403, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 403,\n \"message\": \"Access Forbidden\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "70d89c88-46ed-4bdd-bb4a-689f8e2a91ec", "name": "Too many requests", "originalRequest": { "url": { "path": [ "audience-segments" ], "host": [ "{{baseUrl}}" ], "query": [ { "key": "limit", "value": "100" }, { "key": "token", "value": "0e28af57-511f-47ab-ae46-46cd1ca51a1a" }, { "key": "sort", "value": "lastModifiedBy:DESC" }, { "key": "filter", "value": "event.id eq '103097a4-143d-11e5-9f99-d0a637ee0032' and id in ('313097a4-143d-11e5-9f99-d0a637ee0897','423097a4-143d-11e5-9f99-d0a637ee0897') and deleted eq 'false' and creationType eq 'MANUAL'" }, { "key": "before", "value": "2017-01-02T02:00:00Z" }, { "key": "after", "value": "2017-01-02T02:00:00Z" } ], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "GET", "body": {} }, "status": "Too Many Requests", "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 429,\n \"message\": \"Limit Exceeded\"\n}", "cookie": [], "_postman_previewlanguage": "json" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "3a9729b6-c00b-4418-b0fb-2fb7d4a5294d", "name": "List Audience Segments", "request": { "name": "List Audience Segments", "description": { "content": "Gets a paginated list of audience segments for an account by sending a filter\nin the body of the request. By default, the results include all\naudience segments at the account level unless you specify otherwise in the filter. This\nmethod returns the same data as\n[GET List Audience Segments](#operation/listAudienceSegments) but\nallows for longer filters.\n", "type": "text/plain" }, "url": { "path": [ "audience-segments", "filter" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": false, "key": "limit", "value": "100", "description": "The maximum number of records to return per page." }, { "disabled": false, "key": "token", "value": "", "description": "The continuation token returned from a previous class. This must be a valid UUID v4 if provided.\nThis will override any other pageable parameters provided.\n" }, { "disabled": false, "key": "sort", "value": "", "description": "The sort order passed as a parameter, used to control the order of the\nsearch results as a priority ordered list of sorts. By default, data is sorted by lastModified ASC.\n\nThere are two orders:\n * ascending: ASC\n * descending: DESC\n\nThe following fields are sortable:\n * name\n * lastModified\n * lastModifiedBy\n * creationType\n" }, { "disabled": false, "key": "before", "value": "", "description": "Used to query records that have been added or updated before this time point." }, { "disabled": false, "key": "after", "value": "", "description": "Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store." } ], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "method": "POST", "auth": { "type": "oauth2", "oauth2": [ { "key": "scope", "value": "account/hooks:delete account/hooks:read account/hooks:write account/user-groups:delete account/user-groups:read account/user-groups:write account/users:delete account/users:read account/users:write appointments/appointment-attendees:read appointments/appointment-events:read appointments/appointment-types:read appointments/appointments:read appointments/appointments:write appointments/available-times:read appointments/locations:read attendee-insights/attendee-insights:read attendee-insights/scores:read attendee-insights/stats:read budget/budget-items:delete budget/budget-items:read budget/budget-items:write budget/budget-totals:read budget/budget-vendors:read budget/cards:read budget/currency-conversion-rate:delete budget/currency-conversion-rate:read budget/currency-conversion-rate:write budget/payments:delete budget/payments:read budget/payments:write budget/transactions:delete budget/transactions:read budget/transactions:write bulk/bulk-jobs:read bulk/bulk-jobs:write business-transient/bids:read business-transient/proposals:read business-transient/supplier-brands:read business-transient/supplier-chains:read business-transient/supplier-properties:read business-transient/supplier-property-rooms:read business-transient/travel-accounts:read business-transient/travel-program-questions:read business-transient/travel-programs:read business-transient/travel-supplier-accounts:read business-travel/bids:read business-travel/proposals:read business-travel/travel-accounts:read business-travel/travel-program-questions:read business-travel/travel-programs:read compliance/communications:read compliance/communications:write email/bounces:read email/email-status:read email/emails:read eMarketing/campaigns:read emarketing/emarketing-email-status:read eMarketing/eMarketing-email-templates:read eMarketing/eMarketing-send-emails:write event/admission-items:read event/air-request:read event/alternate-travel:read event/attendance-durations:read event/attendee-activities-metadata:delete event/attendee-activities-metadata:read event/attendee-activities-metadata:write event/attendee-activities:read event/attendee-activities:write event/attendee-credits:read event/attendee-links:delete event/attendee-links:read event/attendee-links:write event/attendee-messages:read event/attendees:read event/attendees:write event/audience-segments:read event/audience-segments:write event/contact-groups:read event/contact-groups:write event/contact-types:read event/contacts:delete event/contacts:read event/contacts:write event/contacts:write-sensitive event/custom-fields:read event/custom-fields:write event/discounts:write event/donation-items:read event/event-discounts:read event/event-discounts:write event/event-email-status:read event/event-emails:read event/event-emails:write event/event-features:read event/event-features:write event/event-user-groups:read event/event-user-groups:write event/events:read event/events:write event/fee-items:read event/hotel-request:read event/invitation-lists:read event/meeting-request-forms:read event/meeting-requests:read event/meeting-requests:write event/membership-items:read event/orders:read event/planning-documents:read event/players:read event/process-form-submissions:read event/program-items:delete event/program-items:read event/program-items:write event/quantity-items:read event/quantity-items:write event/registration-paths:read event/registration-types:read event/registration-types:write event/role-assignments:read event/session-attendance:read event/session-attendance:write event/session-categories:read event/session-categories:write event/session-enrollment:delete event/session-enrollment:read event/session-enrollment:write event/session-segments:read event/sessions:delete event/sessions:read event/sessions:write event/speaker-categories:read event/speaker-categories:write event/speakers:delete event/speakers:read event/speakers:write event/taxes:read event/transactions:read event/transactions:write event/video-views:read event/videos:read event/videos:write event/vouchers:read event/webcasts:delete event/webcasts:read event/webcasts:write event/weblinks:read events-plus/hubs:read exhibitor/badges:read exhibitor/badges:write exhibitor/booth-staff:delete exhibitor/booth-staff:read exhibitor/booth-staff:write exhibitor/eliterature-requests:read exhibitor/exhibitor-admins:read exhibitor/exhibitor-admins:write exhibitor/exhibitor-answers:read exhibitor/exhibitor-answers:write exhibitor/exhibitor-categories:delete exhibitor/exhibitor-categories:read exhibitor/exhibitor-categories:write exhibitor/exhibitor-contents:delete exhibitor/exhibitor-contents:read exhibitor/exhibitor-contents:write exhibitor/exhibitor-questions:read exhibitor/exhibitors:delete exhibitor/exhibitors:read exhibitor/exhibitors:write exhibitor/lead-qualification-answers:read exhibitor/lead-qualification-questions:read exhibitor/leads:read exhibitor/registration-packs:delete exhibitor/registration-packs:read exhibitor/registration-packs:write exhibitor/sponsorship-levels:read file/file:read file/file:write housing/connections:write housing/hotel-room-rates:write housing/housing-event-available-nights:read housing/housing-event-hotels:read housing/housing-event-inventory:read housing/housing-event-room-types:read housing/housing-events:read housing/reservation-requests:delete housing/reservation-requests:read housing/reservation-requests:write housing/reservations-link:delete housing/reservations-link:write housing/reservations:delete housing/reservations:read housing/reservations:write onsite/signatures:read proposal/proposals:write remote-printing/badge-print-jobs:read remote-printing/badge-print-jobs:write remote-printing/badge-printer-pools:read rfp/rfp-agenda-items:read rfp/rfp-attachments:read rfp/rfp-custom-fields:read rfp/rfp-guest-rooms:read rfp/rfp-internal-documents:read rfp/rfp-lead-sources:read rfp/rfp-past-events:read rfp/rfp-questions:read rfp/rfp-recipients-history:read rfp/rfp-suppliers:read rfp/rfps:read seating/assignments:read seating/event-seatings:read seating/seats:read seating/tables:read secure-ecommerce/card-tokens:write survey/questions:read survey/respondents:read survey/responses:read survey/standard-survey-email-templates:read survey/standard-survey-email:write survey/standard-survey-questions:read survey/standard-survey-respondents:read survey/standard-survey-respondents:write survey/standard-survey-responses:read survey/standard-survey-responses:write survey/standard-surveys:read survey/survey-questions:read survey/survey-respondents:read survey/survey-respondents:write survey/survey-responses:read survey/survey-responses:write survey/surveys:read venue/meeting-room-overviews:read venue/meeting-rooms:write venue/venue-details-overview:read venue/venue-details:write venue/venue-facility:write" }, { "key": "accessTokenUrl", "value": "https://api-platform.cvent.com/ea/oauth2/token" }, { "key": "grant_type", "value": "client_credentials" } ] }, "body": { "mode": "raw", "raw": "{\n \"filter\": \"\"\n}", "options": { "raw": { "language": "json" } } } }, "response": [ { "id": "713b9a9c-15f5-4b84-988e-05da64571e5a", "name": "Successfully retrieved list of audience segments.", "originalRequest": { "url": { "path": [ "audience-segments", "filter" ], "host": [ "{{baseUrl}}" ], "query": [ { "key": "limit", "value": "100" }, { "key": "token", "value": "0e28af57-511f-47ab-ae46-46cd1ca51a1a" }, { "key": "sort", "value": "lastModifiedBy:DESC" }, { "key": "before", "value": "2017-01-02T02:00:00Z" }, { "key": "after", "value": "2017-01-02T02:00:00Z" } ], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"filter\": \"event.id eq '103097a4-143d-11e5-9f99-d0a637ee0032' and id in ('313097a4-143d-11e5-9f99-d0a637ee0897', '423097a4-143d-11e5-9f99-d0a637ee0897') and deleted eq 'false' and creationType eq 'MANUAL'\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "OK", "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"paging\": {\n \"_links\": {\n \"next\": {\n \"href\": \"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262\"\n },\n \"self\": {\n \"href\": \"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262\"\n },\n \"prev\": {\n \"href\": \"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262\"\n }\n },\n \"previousToken\": \"1a2b3c4d5e6f7g8h9i10j11k\",\n \"nextToken\": \"1a2b3c4d5e6f7g8h9i10j11k\",\n \"currentToken\": \"1a2b3c4d5e6f7g8h9i10j11k\",\n \"limit\": 100,\n \"totalCount\": 2\n },\n \"data\": [\n {\n \"event\": {\n \"id\": \"103097a4-143d-11e5-9f99-d0a637ee0032\"\n },\n \"name\": \"VIP Attendees\",\n \"id\": \"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3\",\n \"creationType\": \"MANUAL\",\n \"deleted\": true,\n \"description\": \"A group of VIP attendees.\",\n \"created\": \"2017-01-02T02:00:00Z\",\n \"createdBy\": \"hporter\",\n \"lastModified\": \"2019-02-12T03:00:00Z\",\n \"lastModifiedBy\": \"hporter\"\n },\n {\n \"event\": {\n \"id\": \"103097a4-143d-11e5-9f99-d0a637ee0032\"\n },\n \"name\": \"VIP Attendees\",\n \"id\": \"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3\",\n \"creationType\": \"MANUAL\",\n \"deleted\": true,\n \"description\": \"A group of VIP attendees.\",\n \"created\": \"2017-01-02T02:00:00Z\",\n \"createdBy\": \"hporter\",\n \"lastModified\": \"2019-02-12T03:00:00Z\",\n \"lastModifiedBy\": \"hporter\"\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "cdd1992b-db71-4b7d-984d-e7312965fa92", "name": "Bad request", "originalRequest": { "url": { "path": [ "audience-segments", "filter" ], "host": [ "{{baseUrl}}" ], "query": [ { "key": "limit", "value": "100" }, { "key": "token", "value": "0e28af57-511f-47ab-ae46-46cd1ca51a1a" }, { "key": "sort", "value": "lastModifiedBy:DESC" }, { "key": "before", "value": "2017-01-02T02:00:00Z" }, { "key": "after", "value": "2017-01-02T02:00:00Z" } ], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"filter\": \"event.id eq '103097a4-143d-11e5-9f99-d0a637ee0032' and id in ('313097a4-143d-11e5-9f99-d0a637ee0897', '423097a4-143d-11e5-9f99-d0a637ee0897') and deleted eq 'false' and creationType eq 'MANUAL'\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 400,\n \"message\": \"Bad Request\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "4dc90f94-6952-4f67-951f-94eaf38c8013", "name": "Bad or expired token", "originalRequest": { "url": { "path": [ "audience-segments", "filter" ], "host": [ "{{baseUrl}}" ], "query": [ { "key": "limit", "value": "100" }, { "key": "token", "value": "0e28af57-511f-47ab-ae46-46cd1ca51a1a" }, { "key": "sort", "value": "lastModifiedBy:DESC" }, { "key": "before", "value": "2017-01-02T02:00:00Z" }, { "key": "after", "value": "2017-01-02T02:00:00Z" } ], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"filter\": \"event.id eq '103097a4-143d-11e5-9f99-d0a637ee0032' and id in ('313097a4-143d-11e5-9f99-d0a637ee0897', '423097a4-143d-11e5-9f99-d0a637ee0897') and deleted eq 'false' and creationType eq 'MANUAL'\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Unauthorized", "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 401,\n \"message\": \"Unauthorized\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "376115ef-577d-4486-94c8-f11cecda3788", "name": "You do not have access to the resource", "originalRequest": { "url": { "path": [ "audience-segments", "filter" ], "host": [ "{{baseUrl}}" ], "query": [ { "key": "limit", "value": "100" }, { "key": "token", "value": "0e28af57-511f-47ab-ae46-46cd1ca51a1a" }, { "key": "sort", "value": "lastModifiedBy:DESC" }, { "key": "before", "value": "2017-01-02T02:00:00Z" }, { "key": "after", "value": "2017-01-02T02:00:00Z" } ], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"filter\": \"event.id eq '103097a4-143d-11e5-9f99-d0a637ee0032' and id in ('313097a4-143d-11e5-9f99-d0a637ee0897', '423097a4-143d-11e5-9f99-d0a637ee0897') and deleted eq 'false' and creationType eq 'MANUAL'\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Forbidden", "code": 403, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 403,\n \"message\": \"Access Forbidden\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "75c96bad-a60a-4c94-bbd6-5ba15bb7a8c3", "name": "Too many requests", "originalRequest": { "url": { "path": [ "audience-segments", "filter" ], "host": [ "{{baseUrl}}" ], "query": [ { "key": "limit", "value": "100" }, { "key": "token", "value": "0e28af57-511f-47ab-ae46-46cd1ca51a1a" }, { "key": "sort", "value": "lastModifiedBy:DESC" }, { "key": "before", "value": "2017-01-02T02:00:00Z" }, { "key": "after", "value": "2017-01-02T02:00:00Z" } ], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"filter\": \"event.id eq '103097a4-143d-11e5-9f99-d0a637ee0032' and id in ('313097a4-143d-11e5-9f99-d0a637ee0897', '423097a4-143d-11e5-9f99-d0a637ee0897') and deleted eq 'false' and creationType eq 'MANUAL'\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Too Many Requests", "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 429,\n \"message\": \"Limit Exceeded\"\n}", "cookie": [], "_postman_previewlanguage": "json" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "142eb272-817c-40c6-97f1-e74dd57fd8f8", "name": "Get Audience Segment", "request": { "name": "Get Audience Segment", "description": { "content": "Gets an audience segment based on the given ID.", "type": "text/plain" }, "url": { "path": [ "audience-segments", ":audienceSegmentId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." } ] }, "header": [ { "key": "Accept", "value": "application/json" } ], "method": "GET", "auth": { "type": "oauth2", "oauth2": [ { "key": "scope", "value": "account/hooks:delete account/hooks:read account/hooks:write account/user-groups:delete account/user-groups:read account/user-groups:write account/users:delete account/users:read account/users:write appointments/appointment-attendees:read appointments/appointment-events:read appointments/appointment-types:read appointments/appointments:read appointments/appointments:write appointments/available-times:read appointments/locations:read attendee-insights/attendee-insights:read attendee-insights/scores:read attendee-insights/stats:read budget/budget-items:delete budget/budget-items:read budget/budget-items:write budget/budget-totals:read budget/budget-vendors:read budget/cards:read budget/currency-conversion-rate:delete budget/currency-conversion-rate:read budget/currency-conversion-rate:write budget/payments:delete budget/payments:read budget/payments:write budget/transactions:delete budget/transactions:read budget/transactions:write bulk/bulk-jobs:read bulk/bulk-jobs:write business-transient/bids:read business-transient/proposals:read business-transient/supplier-brands:read business-transient/supplier-chains:read business-transient/supplier-properties:read business-transient/supplier-property-rooms:read business-transient/travel-accounts:read business-transient/travel-program-questions:read business-transient/travel-programs:read business-transient/travel-supplier-accounts:read business-travel/bids:read business-travel/proposals:read business-travel/travel-accounts:read business-travel/travel-program-questions:read business-travel/travel-programs:read compliance/communications:read compliance/communications:write email/bounces:read email/email-status:read email/emails:read eMarketing/campaigns:read emarketing/emarketing-email-status:read eMarketing/eMarketing-email-templates:read eMarketing/eMarketing-send-emails:write event/admission-items:read event/air-request:read event/alternate-travel:read event/attendance-durations:read event/attendee-activities-metadata:delete event/attendee-activities-metadata:read event/attendee-activities-metadata:write event/attendee-activities:read event/attendee-activities:write event/attendee-credits:read event/attendee-links:delete event/attendee-links:read event/attendee-links:write event/attendee-messages:read event/attendees:read event/attendees:write event/audience-segments:read event/audience-segments:write event/contact-groups:read event/contact-groups:write event/contact-types:read event/contacts:delete event/contacts:read event/contacts:write event/contacts:write-sensitive event/custom-fields:read event/custom-fields:write event/discounts:write event/donation-items:read event/event-discounts:read event/event-discounts:write event/event-email-status:read event/event-emails:read event/event-emails:write event/event-features:read event/event-features:write event/event-user-groups:read event/event-user-groups:write event/events:read event/events:write event/fee-items:read event/hotel-request:read event/invitation-lists:read event/meeting-request-forms:read event/meeting-requests:read event/meeting-requests:write event/membership-items:read event/orders:read event/planning-documents:read event/players:read event/process-form-submissions:read event/program-items:delete event/program-items:read event/program-items:write event/quantity-items:read event/quantity-items:write event/registration-paths:read event/registration-types:read event/registration-types:write event/role-assignments:read event/session-attendance:read event/session-attendance:write event/session-categories:read event/session-categories:write event/session-enrollment:delete event/session-enrollment:read event/session-enrollment:write event/session-segments:read event/sessions:delete event/sessions:read event/sessions:write event/speaker-categories:read event/speaker-categories:write event/speakers:delete event/speakers:read event/speakers:write event/taxes:read event/transactions:read event/transactions:write event/video-views:read event/videos:read event/videos:write event/vouchers:read event/webcasts:delete event/webcasts:read event/webcasts:write event/weblinks:read events-plus/hubs:read exhibitor/badges:read exhibitor/badges:write exhibitor/booth-staff:delete exhibitor/booth-staff:read exhibitor/booth-staff:write exhibitor/eliterature-requests:read exhibitor/exhibitor-admins:read exhibitor/exhibitor-admins:write exhibitor/exhibitor-answers:read exhibitor/exhibitor-answers:write exhibitor/exhibitor-categories:delete exhibitor/exhibitor-categories:read exhibitor/exhibitor-categories:write exhibitor/exhibitor-contents:delete exhibitor/exhibitor-contents:read exhibitor/exhibitor-contents:write exhibitor/exhibitor-questions:read exhibitor/exhibitors:delete exhibitor/exhibitors:read exhibitor/exhibitors:write exhibitor/lead-qualification-answers:read exhibitor/lead-qualification-questions:read exhibitor/leads:read exhibitor/registration-packs:delete exhibitor/registration-packs:read exhibitor/registration-packs:write exhibitor/sponsorship-levels:read file/file:read file/file:write housing/connections:write housing/hotel-room-rates:write housing/housing-event-available-nights:read housing/housing-event-hotels:read housing/housing-event-inventory:read housing/housing-event-room-types:read housing/housing-events:read housing/reservation-requests:delete housing/reservation-requests:read housing/reservation-requests:write housing/reservations-link:delete housing/reservations-link:write housing/reservations:delete housing/reservations:read housing/reservations:write onsite/signatures:read proposal/proposals:write remote-printing/badge-print-jobs:read remote-printing/badge-print-jobs:write remote-printing/badge-printer-pools:read rfp/rfp-agenda-items:read rfp/rfp-attachments:read rfp/rfp-custom-fields:read rfp/rfp-guest-rooms:read rfp/rfp-internal-documents:read rfp/rfp-lead-sources:read rfp/rfp-past-events:read rfp/rfp-questions:read rfp/rfp-recipients-history:read rfp/rfp-suppliers:read rfp/rfps:read seating/assignments:read seating/event-seatings:read seating/seats:read seating/tables:read secure-ecommerce/card-tokens:write survey/questions:read survey/respondents:read survey/responses:read survey/standard-survey-email-templates:read survey/standard-survey-email:write survey/standard-survey-questions:read survey/standard-survey-respondents:read survey/standard-survey-respondents:write survey/standard-survey-responses:read survey/standard-survey-responses:write survey/standard-surveys:read survey/survey-questions:read survey/survey-respondents:read survey/survey-respondents:write survey/survey-responses:read survey/survey-responses:write survey/surveys:read venue/meeting-room-overviews:read venue/meeting-rooms:write venue/venue-details-overview:read venue/venue-details:write venue/venue-facility:write" }, { "key": "accessTokenUrl", "value": "https://api-platform.cvent.com/ea/oauth2/token" }, { "key": "grant_type", "value": "client_credentials" } ] } }, "response": [ { "id": "74c1661c-69a3-494a-84dc-8dc0e2354b9d", "name": "Successfully retrieved the given audience segment.", "originalRequest": { "url": { "path": [ "audience-segments", ":audienceSegmentId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "GET", "body": {} }, "status": "OK", "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"event\": {\n \"id\": \"103097a4-143d-11e5-9f99-d0a637ee0032\"\n },\n \"name\": \"VIP Attendees\",\n \"id\": \"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3\",\n \"creationType\": \"MANUAL\",\n \"deleted\": true,\n \"description\": \"A group of VIP attendees.\",\n \"created\": \"2017-01-02T02:00:00Z\",\n \"createdBy\": \"hporter\",\n \"lastModified\": \"2019-02-12T03:00:00Z\",\n \"lastModifiedBy\": \"hporter\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "659f6839-558b-4060-aad6-b5c7593a518c", "name": "Bad request", "originalRequest": { "url": { "path": [ "audience-segments", ":audienceSegmentId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "GET", "body": {} }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 400,\n \"message\": \"Bad Request\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "00e9a001-436a-4ca7-a9c1-1019f8165dfa", "name": "Bad or expired token", "originalRequest": { "url": { "path": [ "audience-segments", ":audienceSegmentId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "GET", "body": {} }, "status": "Unauthorized", "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 401,\n \"message\": \"Unauthorized\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "34459b4b-32cf-42a7-baac-628a9947ffa0", "name": "You do not have access to the resource", "originalRequest": { "url": { "path": [ "audience-segments", ":audienceSegmentId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "GET", "body": {} }, "status": "Forbidden", "code": 403, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 403,\n \"message\": \"Access Forbidden\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "408207db-0dc7-493c-92f4-b35a3bc5b699", "name": "Resource not found", "originalRequest": { "url": { "path": [ "audience-segments", ":audienceSegmentId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "GET", "body": {} }, "status": "Not Found", "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 404,\n \"message\": \"Not found\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "663872ab-df73-4e7c-95ee-a06436492d7c", "name": "Too many requests", "originalRequest": { "url": { "path": [ "audience-segments", ":audienceSegmentId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "GET", "body": {} }, "status": "Too Many Requests", "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 429,\n \"message\": \"Limit Exceeded\"\n}", "cookie": [], "_postman_previewlanguage": "json" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "2d890c4a-d67b-4bbe-bea4-09e5a9665229", "name": "Update Audience Segment", "request": { "name": "Update Audience Segment", "description": { "content": "Updates the given audience segment based on the values provided in the request body.", "type": "text/plain" }, "url": { "path": [ "audience-segments", ":audienceSegmentId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." } ] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "method": "PUT", "auth": { "type": "oauth2", "oauth2": [ { "key": "scope", "value": "account/hooks:delete account/hooks:read account/hooks:write account/user-groups:delete account/user-groups:read account/user-groups:write account/users:delete account/users:read account/users:write appointments/appointment-attendees:read appointments/appointment-events:read appointments/appointment-types:read appointments/appointments:read appointments/appointments:write appointments/available-times:read appointments/locations:read attendee-insights/attendee-insights:read attendee-insights/scores:read attendee-insights/stats:read budget/budget-items:delete budget/budget-items:read budget/budget-items:write budget/budget-totals:read budget/budget-vendors:read budget/cards:read budget/currency-conversion-rate:delete budget/currency-conversion-rate:read budget/currency-conversion-rate:write budget/payments:delete budget/payments:read budget/payments:write budget/transactions:delete budget/transactions:read budget/transactions:write bulk/bulk-jobs:read bulk/bulk-jobs:write business-transient/bids:read business-transient/proposals:read business-transient/supplier-brands:read business-transient/supplier-chains:read business-transient/supplier-properties:read business-transient/supplier-property-rooms:read business-transient/travel-accounts:read business-transient/travel-program-questions:read business-transient/travel-programs:read business-transient/travel-supplier-accounts:read business-travel/bids:read business-travel/proposals:read business-travel/travel-accounts:read business-travel/travel-program-questions:read business-travel/travel-programs:read compliance/communications:read compliance/communications:write email/bounces:read email/email-status:read email/emails:read eMarketing/campaigns:read emarketing/emarketing-email-status:read eMarketing/eMarketing-email-templates:read eMarketing/eMarketing-send-emails:write event/admission-items:read event/air-request:read event/alternate-travel:read event/attendance-durations:read event/attendee-activities-metadata:delete event/attendee-activities-metadata:read event/attendee-activities-metadata:write event/attendee-activities:read event/attendee-activities:write event/attendee-credits:read event/attendee-links:delete event/attendee-links:read event/attendee-links:write event/attendee-messages:read event/attendees:read event/attendees:write event/audience-segments:read event/audience-segments:write event/contact-groups:read event/contact-groups:write event/contact-types:read event/contacts:delete event/contacts:read event/contacts:write event/contacts:write-sensitive event/custom-fields:read event/custom-fields:write event/discounts:write event/donation-items:read event/event-discounts:read event/event-discounts:write event/event-email-status:read event/event-emails:read event/event-emails:write event/event-features:read event/event-features:write event/event-user-groups:read event/event-user-groups:write event/events:read event/events:write event/fee-items:read event/hotel-request:read event/invitation-lists:read event/meeting-request-forms:read event/meeting-requests:read event/meeting-requests:write event/membership-items:read event/orders:read event/planning-documents:read event/players:read event/process-form-submissions:read event/program-items:delete event/program-items:read event/program-items:write event/quantity-items:read event/quantity-items:write event/registration-paths:read event/registration-types:read event/registration-types:write event/role-assignments:read event/session-attendance:read event/session-attendance:write event/session-categories:read event/session-categories:write event/session-enrollment:delete event/session-enrollment:read event/session-enrollment:write event/session-segments:read event/sessions:delete event/sessions:read event/sessions:write event/speaker-categories:read event/speaker-categories:write event/speakers:delete event/speakers:read event/speakers:write event/taxes:read event/transactions:read event/transactions:write event/video-views:read event/videos:read event/videos:write event/vouchers:read event/webcasts:delete event/webcasts:read event/webcasts:write event/weblinks:read events-plus/hubs:read exhibitor/badges:read exhibitor/badges:write exhibitor/booth-staff:delete exhibitor/booth-staff:read exhibitor/booth-staff:write exhibitor/eliterature-requests:read exhibitor/exhibitor-admins:read exhibitor/exhibitor-admins:write exhibitor/exhibitor-answers:read exhibitor/exhibitor-answers:write exhibitor/exhibitor-categories:delete exhibitor/exhibitor-categories:read exhibitor/exhibitor-categories:write exhibitor/exhibitor-contents:delete exhibitor/exhibitor-contents:read exhibitor/exhibitor-contents:write exhibitor/exhibitor-questions:read exhibitor/exhibitors:delete exhibitor/exhibitors:read exhibitor/exhibitors:write exhibitor/lead-qualification-answers:read exhibitor/lead-qualification-questions:read exhibitor/leads:read exhibitor/registration-packs:delete exhibitor/registration-packs:read exhibitor/registration-packs:write exhibitor/sponsorship-levels:read file/file:read file/file:write housing/connections:write housing/hotel-room-rates:write housing/housing-event-available-nights:read housing/housing-event-hotels:read housing/housing-event-inventory:read housing/housing-event-room-types:read housing/housing-events:read housing/reservation-requests:delete housing/reservation-requests:read housing/reservation-requests:write housing/reservations-link:delete housing/reservations-link:write housing/reservations:delete housing/reservations:read housing/reservations:write onsite/signatures:read proposal/proposals:write remote-printing/badge-print-jobs:read remote-printing/badge-print-jobs:write remote-printing/badge-printer-pools:read rfp/rfp-agenda-items:read rfp/rfp-attachments:read rfp/rfp-custom-fields:read rfp/rfp-guest-rooms:read rfp/rfp-internal-documents:read rfp/rfp-lead-sources:read rfp/rfp-past-events:read rfp/rfp-questions:read rfp/rfp-recipients-history:read rfp/rfp-suppliers:read rfp/rfps:read seating/assignments:read seating/event-seatings:read seating/seats:read seating/tables:read secure-ecommerce/card-tokens:write survey/questions:read survey/respondents:read survey/responses:read survey/standard-survey-email-templates:read survey/standard-survey-email:write survey/standard-survey-questions:read survey/standard-survey-respondents:read survey/standard-survey-respondents:write survey/standard-survey-responses:read survey/standard-survey-responses:write survey/standard-surveys:read survey/survey-questions:read survey/survey-respondents:read survey/survey-respondents:write survey/survey-responses:read survey/survey-responses:write survey/surveys:read venue/meeting-room-overviews:read venue/meeting-rooms:write venue/venue-details-overview:read venue/venue-details:write venue/venue-facility:write" }, { "key": "accessTokenUrl", "value": "https://api-platform.cvent.com/ea/oauth2/token" }, { "key": "grant_type", "value": "client_credentials" } ] }, "body": { "mode": "raw", "raw": "{\n \"event\": {\n \"id\": \"\"\n },\n \"name\": \"\",\n \"description\": \"\"\n}", "options": { "raw": { "language": "json" } } } }, "response": [ { "id": "b5d3ba4a-721b-4b99-a91f-431cee24e769", "name": "Successfully updated the given Audience segment.", "originalRequest": { "url": { "path": [ "audience-segments", ":audienceSegmentId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "PUT", "body": { "mode": "raw", "raw": "{\n \"event\": {\n \"id\": \"103097a4-143d-11e5-9f99-d0a637ee0032\"\n },\n \"name\": \"VIP Attendees\",\n \"description\": \"A group of VIP attendees.\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "OK", "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"event\": {\n \"id\": \"103097a4-143d-11e5-9f99-d0a637ee0032\"\n },\n \"name\": \"VIP Attendees\",\n \"id\": \"04ca6ae2-0dc3-487b-953e-86d6abbdf7d3\",\n \"creationType\": \"MANUAL\",\n \"deleted\": true,\n \"description\": \"A group of VIP attendees.\",\n \"created\": \"2017-01-02T02:00:00Z\",\n \"createdBy\": \"hporter\",\n \"lastModified\": \"2019-02-12T03:00:00Z\",\n \"lastModifiedBy\": \"hporter\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "ae672849-c6ff-4ae2-84da-0115cf7e544e", "name": "Bad request", "originalRequest": { "url": { "path": [ "audience-segments", ":audienceSegmentId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "PUT", "body": { "mode": "raw", "raw": "{\n \"event\": {\n \"id\": \"103097a4-143d-11e5-9f99-d0a637ee0032\"\n },\n \"name\": \"VIP Attendees\",\n \"description\": \"A group of VIP attendees.\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 400,\n \"message\": \"Bad Request\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "c53a31fa-a964-4671-989d-67a5fe58277d", "name": "Bad or expired token", "originalRequest": { "url": { "path": [ "audience-segments", ":audienceSegmentId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "PUT", "body": { "mode": "raw", "raw": "{\n \"event\": {\n \"id\": \"103097a4-143d-11e5-9f99-d0a637ee0032\"\n },\n \"name\": \"VIP Attendees\",\n \"description\": \"A group of VIP attendees.\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Unauthorized", "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 401,\n \"message\": \"Unauthorized\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "cf4d5a69-3b73-4eb2-9b91-f91df33aad63", "name": "You do not have access to the resource", "originalRequest": { "url": { "path": [ "audience-segments", ":audienceSegmentId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "PUT", "body": { "mode": "raw", "raw": "{\n \"event\": {\n \"id\": \"103097a4-143d-11e5-9f99-d0a637ee0032\"\n },\n \"name\": \"VIP Attendees\",\n \"description\": \"A group of VIP attendees.\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Forbidden", "code": 403, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 403,\n \"message\": \"Access Forbidden\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "f1ca48ce-71df-4232-8c55-f80a373156a8", "name": "Resource not found", "originalRequest": { "url": { "path": [ "audience-segments", ":audienceSegmentId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "PUT", "body": { "mode": "raw", "raw": "{\n \"event\": {\n \"id\": \"103097a4-143d-11e5-9f99-d0a637ee0032\"\n },\n \"name\": \"VIP Attendees\",\n \"description\": \"A group of VIP attendees.\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Not Found", "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 404,\n \"message\": \"Not found\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "2b68df0a-96f9-435b-ba31-5c04947a92e6", "name": "Was not able to process the request.", "originalRequest": { "url": { "path": [ "audience-segments", ":audienceSegmentId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "PUT", "body": { "mode": "raw", "raw": "{\n \"event\": {\n \"id\": \"103097a4-143d-11e5-9f99-d0a637ee0032\"\n },\n \"name\": \"VIP Attendees\",\n \"description\": \"A group of VIP attendees.\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 422,\n \"message\": \"Unprocessable Entity\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "2aa9d0ae-0b0f-4ac4-9cc3-c9cf670708c2", "name": "Too many requests", "originalRequest": { "url": { "path": [ "audience-segments", ":audienceSegmentId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "PUT", "body": { "mode": "raw", "raw": "{\n \"event\": {\n \"id\": \"103097a4-143d-11e5-9f99-d0a637ee0032\"\n },\n \"name\": \"VIP Attendees\",\n \"description\": \"A group of VIP attendees.\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Too Many Requests", "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 429,\n \"message\": \"Limit Exceeded\"\n}", "cookie": [], "_postman_previewlanguage": "json" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "0379876f-00cc-4373-bed2-3cd9d3390332", "name": "Delete Audience Segment", "request": { "name": "Delete Audience Segment", "description": { "content": "Deletes the given audience segment.", "type": "text/plain" }, "url": { "path": [ "audience-segments", ":audienceSegmentId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." } ] }, "header": [ { "key": "Accept", "value": "application/json" } ], "method": "DELETE", "auth": { "type": "oauth2", "oauth2": [ { "key": "scope", "value": "account/hooks:delete account/hooks:read account/hooks:write account/user-groups:delete account/user-groups:read account/user-groups:write account/users:delete account/users:read account/users:write appointments/appointment-attendees:read appointments/appointment-events:read appointments/appointment-types:read appointments/appointments:read appointments/appointments:write appointments/available-times:read appointments/locations:read attendee-insights/attendee-insights:read attendee-insights/scores:read attendee-insights/stats:read budget/budget-items:delete budget/budget-items:read budget/budget-items:write budget/budget-totals:read budget/budget-vendors:read budget/cards:read budget/currency-conversion-rate:delete budget/currency-conversion-rate:read budget/currency-conversion-rate:write budget/payments:delete budget/payments:read budget/payments:write budget/transactions:delete budget/transactions:read budget/transactions:write bulk/bulk-jobs:read bulk/bulk-jobs:write business-transient/bids:read business-transient/proposals:read business-transient/supplier-brands:read business-transient/supplier-chains:read business-transient/supplier-properties:read business-transient/supplier-property-rooms:read business-transient/travel-accounts:read business-transient/travel-program-questions:read business-transient/travel-programs:read business-transient/travel-supplier-accounts:read business-travel/bids:read business-travel/proposals:read business-travel/travel-accounts:read business-travel/travel-program-questions:read business-travel/travel-programs:read compliance/communications:read compliance/communications:write email/bounces:read email/email-status:read email/emails:read eMarketing/campaigns:read emarketing/emarketing-email-status:read eMarketing/eMarketing-email-templates:read eMarketing/eMarketing-send-emails:write event/admission-items:read event/air-request:read event/alternate-travel:read event/attendance-durations:read event/attendee-activities-metadata:delete event/attendee-activities-metadata:read event/attendee-activities-metadata:write event/attendee-activities:read event/attendee-activities:write event/attendee-credits:read event/attendee-links:delete event/attendee-links:read event/attendee-links:write event/attendee-messages:read event/attendees:read event/attendees:write event/audience-segments:read event/audience-segments:write event/contact-groups:read event/contact-groups:write event/contact-types:read event/contacts:delete event/contacts:read event/contacts:write event/contacts:write-sensitive event/custom-fields:read event/custom-fields:write event/discounts:write event/donation-items:read event/event-discounts:read event/event-discounts:write event/event-email-status:read event/event-emails:read event/event-emails:write event/event-features:read event/event-features:write event/event-user-groups:read event/event-user-groups:write event/events:read event/events:write event/fee-items:read event/hotel-request:read event/invitation-lists:read event/meeting-request-forms:read event/meeting-requests:read event/meeting-requests:write event/membership-items:read event/orders:read event/planning-documents:read event/players:read event/process-form-submissions:read event/program-items:delete event/program-items:read event/program-items:write event/quantity-items:read event/quantity-items:write event/registration-paths:read event/registration-types:read event/registration-types:write event/role-assignments:read event/session-attendance:read event/session-attendance:write event/session-categories:read event/session-categories:write event/session-enrollment:delete event/session-enrollment:read event/session-enrollment:write event/session-segments:read event/sessions:delete event/sessions:read event/sessions:write event/speaker-categories:read event/speaker-categories:write event/speakers:delete event/speakers:read event/speakers:write event/taxes:read event/transactions:read event/transactions:write event/video-views:read event/videos:read event/videos:write event/vouchers:read event/webcasts:delete event/webcasts:read event/webcasts:write event/weblinks:read events-plus/hubs:read exhibitor/badges:read exhibitor/badges:write exhibitor/booth-staff:delete exhibitor/booth-staff:read exhibitor/booth-staff:write exhibitor/eliterature-requests:read exhibitor/exhibitor-admins:read exhibitor/exhibitor-admins:write exhibitor/exhibitor-answers:read exhibitor/exhibitor-answers:write exhibitor/exhibitor-categories:delete exhibitor/exhibitor-categories:read exhibitor/exhibitor-categories:write exhibitor/exhibitor-contents:delete exhibitor/exhibitor-contents:read exhibitor/exhibitor-contents:write exhibitor/exhibitor-questions:read exhibitor/exhibitors:delete exhibitor/exhibitors:read exhibitor/exhibitors:write exhibitor/lead-qualification-answers:read exhibitor/lead-qualification-questions:read exhibitor/leads:read exhibitor/registration-packs:delete exhibitor/registration-packs:read exhibitor/registration-packs:write exhibitor/sponsorship-levels:read file/file:read file/file:write housing/connections:write housing/hotel-room-rates:write housing/housing-event-available-nights:read housing/housing-event-hotels:read housing/housing-event-inventory:read housing/housing-event-room-types:read housing/housing-events:read housing/reservation-requests:delete housing/reservation-requests:read housing/reservation-requests:write housing/reservations-link:delete housing/reservations-link:write housing/reservations:delete housing/reservations:read housing/reservations:write onsite/signatures:read proposal/proposals:write remote-printing/badge-print-jobs:read remote-printing/badge-print-jobs:write remote-printing/badge-printer-pools:read rfp/rfp-agenda-items:read rfp/rfp-attachments:read rfp/rfp-custom-fields:read rfp/rfp-guest-rooms:read rfp/rfp-internal-documents:read rfp/rfp-lead-sources:read rfp/rfp-past-events:read rfp/rfp-questions:read rfp/rfp-recipients-history:read rfp/rfp-suppliers:read rfp/rfps:read seating/assignments:read seating/event-seatings:read seating/seats:read seating/tables:read secure-ecommerce/card-tokens:write survey/questions:read survey/respondents:read survey/responses:read survey/standard-survey-email-templates:read survey/standard-survey-email:write survey/standard-survey-questions:read survey/standard-survey-respondents:read survey/standard-survey-respondents:write survey/standard-survey-responses:read survey/standard-survey-responses:write survey/standard-surveys:read survey/survey-questions:read survey/survey-respondents:read survey/survey-respondents:write survey/survey-responses:read survey/survey-responses:write survey/surveys:read venue/meeting-room-overviews:read venue/meeting-rooms:write venue/venue-details-overview:read venue/venue-details:write venue/venue-facility:write" }, { "key": "accessTokenUrl", "value": "https://api-platform.cvent.com/ea/oauth2/token" }, { "key": "grant_type", "value": "client_credentials" } ] } }, "response": [ { "id": "a7dc8738-a200-4489-96a3-a9fd3315704f", "name": "Successfully deleted the given audience segment.", "originalRequest": { "url": { "path": [ "audience-segments", ":audienceSegmentId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" } ], "method": "DELETE", "body": {} }, "status": "No Content", "code": 204, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "160102e9-357d-4f68-8c04-2ef3031b11a6", "name": "Bad or expired token", "originalRequest": { "url": { "path": [ "audience-segments", ":audienceSegmentId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "DELETE", "body": {} }, "status": "Unauthorized", "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 401,\n \"message\": \"Unauthorized\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "32b5d10f-a628-4559-8983-db2a1388ea7e", "name": "You do not have access to the resource", "originalRequest": { "url": { "path": [ "audience-segments", ":audienceSegmentId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "DELETE", "body": {} }, "status": "Forbidden", "code": 403, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 403,\n \"message\": \"Access Forbidden\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "57064f4d-0953-4402-b796-8e46a7958c44", "name": "Resource not found", "originalRequest": { "url": { "path": [ "audience-segments", ":audienceSegmentId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "DELETE", "body": {} }, "status": "Not Found", "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 404,\n \"message\": \"Not found\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "4456e9f1-46b5-474f-b250-540c082e061f", "name": "Too many requests", "originalRequest": { "url": { "path": [ "audience-segments", ":audienceSegmentId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "DELETE", "body": {} }, "status": "Too Many Requests", "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 429,\n \"message\": \"Limit Exceeded\"\n}", "cookie": [], "_postman_previewlanguage": "json" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "4da61cef-ac9e-4e76-8533-ad29cbbc7432", "name": "List Associated Attendees", "request": { "name": "List Associated Attendees", "description": { "content": "Gets a paginated list of attendees associated or disassociated to/from an audience segment. Use the `filter` query parameter to return only associated or only disassociated attendees.\n", "type": "text/plain" }, "url": { "path": [ "audience-segments", ":audienceSegmentId", "attendees" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": false, "key": "limit", "value": "100", "description": "The maximum number of records to return per page." }, { "disabled": false, "key": "token", "value": "", "description": "The continuation token returned from a previous class. This must be a valid UUID v4 if provided.\nThis will override any other pageable parameters provided.\n" }, { "disabled": false, "key": "before", "value": "", "description": "Used to query records that have been added or updated before this time point." }, { "disabled": false, "key": "after", "value": "", "description": "Used to query records that have been added or updated after this time point. Default to the beginning of time of the data store." }, { "disabled": false, "key": "filter", "value": "", "description": "Use filter query parameters to limit results\nto data that matches your criteria. See\n[Filters](https://developers.cvent.com/docs/rest-api/reference/filters) for details.\n\nSupported fields and operators are listed below:\n\n| Field | Operators | Notes |\n|------------------|-------------------------------------|------------------------------------------|\n| disassociated | `eq` | To use this filter, `includeDisassociated` query parameter must be true. |\n" }, { "disabled": false, "key": "includeDisassociated", "value": "false", "description": "Use the `includeDisassociated` query parameter to include disassociated attendees in the result. Note: Disassociated attendees older than 30 days will not be returned in result.\n" } ], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." } ] }, "header": [ { "key": "Accept", "value": "application/json" } ], "method": "GET", "auth": { "type": "oauth2", "oauth2": [ { "key": "scope", "value": "account/hooks:delete account/hooks:read account/hooks:write account/user-groups:delete account/user-groups:read account/user-groups:write account/users:delete account/users:read account/users:write appointments/appointment-attendees:read appointments/appointment-events:read appointments/appointment-types:read appointments/appointments:read appointments/appointments:write appointments/available-times:read appointments/locations:read attendee-insights/attendee-insights:read attendee-insights/scores:read attendee-insights/stats:read budget/budget-items:delete budget/budget-items:read budget/budget-items:write budget/budget-totals:read budget/budget-vendors:read budget/cards:read budget/currency-conversion-rate:delete budget/currency-conversion-rate:read budget/currency-conversion-rate:write budget/payments:delete budget/payments:read budget/payments:write budget/transactions:delete budget/transactions:read budget/transactions:write bulk/bulk-jobs:read bulk/bulk-jobs:write business-transient/bids:read business-transient/proposals:read business-transient/supplier-brands:read business-transient/supplier-chains:read business-transient/supplier-properties:read business-transient/supplier-property-rooms:read business-transient/travel-accounts:read business-transient/travel-program-questions:read business-transient/travel-programs:read business-transient/travel-supplier-accounts:read business-travel/bids:read business-travel/proposals:read business-travel/travel-accounts:read business-travel/travel-program-questions:read business-travel/travel-programs:read compliance/communications:read compliance/communications:write email/bounces:read email/email-status:read email/emails:read eMarketing/campaigns:read emarketing/emarketing-email-status:read eMarketing/eMarketing-email-templates:read eMarketing/eMarketing-send-emails:write event/admission-items:read event/air-request:read event/alternate-travel:read event/attendance-durations:read event/attendee-activities-metadata:delete event/attendee-activities-metadata:read event/attendee-activities-metadata:write event/attendee-activities:read event/attendee-activities:write event/attendee-credits:read event/attendee-links:delete event/attendee-links:read event/attendee-links:write event/attendee-messages:read event/attendees:read event/attendees:write event/audience-segments:read event/audience-segments:write event/contact-groups:read event/contact-groups:write event/contact-types:read event/contacts:delete event/contacts:read event/contacts:write event/contacts:write-sensitive event/custom-fields:read event/custom-fields:write event/discounts:write event/donation-items:read event/event-discounts:read event/event-discounts:write event/event-email-status:read event/event-emails:read event/event-emails:write event/event-features:read event/event-features:write event/event-user-groups:read event/event-user-groups:write event/events:read event/events:write event/fee-items:read event/hotel-request:read event/invitation-lists:read event/meeting-request-forms:read event/meeting-requests:read event/meeting-requests:write event/membership-items:read event/orders:read event/planning-documents:read event/players:read event/process-form-submissions:read event/program-items:delete event/program-items:read event/program-items:write event/quantity-items:read event/quantity-items:write event/registration-paths:read event/registration-types:read event/registration-types:write event/role-assignments:read event/session-attendance:read event/session-attendance:write event/session-categories:read event/session-categories:write event/session-enrollment:delete event/session-enrollment:read event/session-enrollment:write event/session-segments:read event/sessions:delete event/sessions:read event/sessions:write event/speaker-categories:read event/speaker-categories:write event/speakers:delete event/speakers:read event/speakers:write event/taxes:read event/transactions:read event/transactions:write event/video-views:read event/videos:read event/videos:write event/vouchers:read event/webcasts:delete event/webcasts:read event/webcasts:write event/weblinks:read events-plus/hubs:read exhibitor/badges:read exhibitor/badges:write exhibitor/booth-staff:delete exhibitor/booth-staff:read exhibitor/booth-staff:write exhibitor/eliterature-requests:read exhibitor/exhibitor-admins:read exhibitor/exhibitor-admins:write exhibitor/exhibitor-answers:read exhibitor/exhibitor-answers:write exhibitor/exhibitor-categories:delete exhibitor/exhibitor-categories:read exhibitor/exhibitor-categories:write exhibitor/exhibitor-contents:delete exhibitor/exhibitor-contents:read exhibitor/exhibitor-contents:write exhibitor/exhibitor-questions:read exhibitor/exhibitors:delete exhibitor/exhibitors:read exhibitor/exhibitors:write exhibitor/lead-qualification-answers:read exhibitor/lead-qualification-questions:read exhibitor/leads:read exhibitor/registration-packs:delete exhibitor/registration-packs:read exhibitor/registration-packs:write exhibitor/sponsorship-levels:read file/file:read file/file:write housing/connections:write housing/hotel-room-rates:write housing/housing-event-available-nights:read housing/housing-event-hotels:read housing/housing-event-inventory:read housing/housing-event-room-types:read housing/housing-events:read housing/reservation-requests:delete housing/reservation-requests:read housing/reservation-requests:write housing/reservations-link:delete housing/reservations-link:write housing/reservations:delete housing/reservations:read housing/reservations:write onsite/signatures:read proposal/proposals:write remote-printing/badge-print-jobs:read remote-printing/badge-print-jobs:write remote-printing/badge-printer-pools:read rfp/rfp-agenda-items:read rfp/rfp-attachments:read rfp/rfp-custom-fields:read rfp/rfp-guest-rooms:read rfp/rfp-internal-documents:read rfp/rfp-lead-sources:read rfp/rfp-past-events:read rfp/rfp-questions:read rfp/rfp-recipients-history:read rfp/rfp-suppliers:read rfp/rfps:read seating/assignments:read seating/event-seatings:read seating/seats:read seating/tables:read secure-ecommerce/card-tokens:write survey/questions:read survey/respondents:read survey/responses:read survey/standard-survey-email-templates:read survey/standard-survey-email:write survey/standard-survey-questions:read survey/standard-survey-respondents:read survey/standard-survey-respondents:write survey/standard-survey-responses:read survey/standard-survey-responses:write survey/standard-surveys:read survey/survey-questions:read survey/survey-respondents:read survey/survey-respondents:write survey/survey-responses:read survey/survey-responses:write survey/surveys:read venue/meeting-room-overviews:read venue/meeting-rooms:write venue/venue-details-overview:read venue/venue-details:write venue/venue-facility:write" }, { "key": "accessTokenUrl", "value": "https://api-platform.cvent.com/ea/oauth2/token" }, { "key": "grant_type", "value": "client_credentials" } ] } }, "response": [ { "id": "010fc264-f84b-4aaf-84aa-93e06600cb0a", "name": "Successfully retrieved list of attendees associated/disassociated to/from an audience segment.", "originalRequest": { "url": { "path": [ "audience-segments", ":audienceSegmentId", "attendees" ], "host": [ "{{baseUrl}}" ], "query": [ { "key": "limit", "value": "100" }, { "key": "token", "value": "0e28af57-511f-47ab-ae46-46cd1ca51a1a" }, { "key": "before", "value": "2017-01-02T02:00:00Z" }, { "key": "after", "value": "2017-01-02T02:00:00Z" }, { "key": "filter", "value": "disassociated eq 'false'" }, { "key": "includeDisassociated", "value": "true" } ], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "GET", "body": {} }, "status": "OK", "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"paging\": {\n \"_links\": {\n \"next\": {\n \"href\": \"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262\"\n },\n \"self\": {\n \"href\": \"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262\"\n },\n \"prev\": {\n \"href\": \"?token=90c5f062-76ad-4ea4-aa53-00eb698d9262\"\n }\n },\n \"previousToken\": \"1a2b3c4d5e6f7g8h9i10j11k\",\n \"nextToken\": \"1a2b3c4d5e6f7g8h9i10j11k\",\n \"currentToken\": \"1a2b3c4d5e6f7g8h9i10j11k\",\n \"limit\": 100,\n \"totalCount\": 2\n },\n \"data\": [\n {\n \"segment\": {\n \"id\": \"b13497ea-c117-4d62-a17b-e6c14d7e49d4\"\n },\n \"id\": \"103097a4-143d-11e5-9f99-d0a637ee0032\",\n \"disassociated\": false,\n \"created\": \"2017-01-02T02:00:00Z\",\n \"createdBy\": \"hporter\",\n \"lastModified\": \"2019-02-12T03:00:00Z\",\n \"lastModifiedBy\": \"hporter\"\n },\n {\n \"segment\": {\n \"id\": \"b13497ea-c117-4d62-a17b-e6c14d7e49d4\"\n },\n \"id\": \"103097a4-143d-11e5-9f99-d0a637ee0032\",\n \"disassociated\": false,\n \"created\": \"2017-01-02T02:00:00Z\",\n \"createdBy\": \"hporter\",\n \"lastModified\": \"2019-02-12T03:00:00Z\",\n \"lastModifiedBy\": \"hporter\"\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "58d3e8ce-4c97-4391-8c08-37e863e9f4c1", "name": "Bad request", "originalRequest": { "url": { "path": [ "audience-segments", ":audienceSegmentId", "attendees" ], "host": [ "{{baseUrl}}" ], "query": [ { "key": "limit", "value": "100" }, { "key": "token", "value": "0e28af57-511f-47ab-ae46-46cd1ca51a1a" }, { "key": "before", "value": "2017-01-02T02:00:00Z" }, { "key": "after", "value": "2017-01-02T02:00:00Z" }, { "key": "filter", "value": "disassociated eq 'false'" }, { "key": "includeDisassociated", "value": "true" } ], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "GET", "body": {} }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 400,\n \"message\": \"Bad Request\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "ce24721b-09d5-4ea9-ab0b-8eb3b36b9b2d", "name": "Bad or expired token", "originalRequest": { "url": { "path": [ "audience-segments", ":audienceSegmentId", "attendees" ], "host": [ "{{baseUrl}}" ], "query": [ { "key": "limit", "value": "100" }, { "key": "token", "value": "0e28af57-511f-47ab-ae46-46cd1ca51a1a" }, { "key": "before", "value": "2017-01-02T02:00:00Z" }, { "key": "after", "value": "2017-01-02T02:00:00Z" }, { "key": "filter", "value": "disassociated eq 'false'" }, { "key": "includeDisassociated", "value": "true" } ], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "GET", "body": {} }, "status": "Unauthorized", "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 401,\n \"message\": \"Unauthorized\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "57ce12db-e743-4227-b259-4391bfd2b88e", "name": "You do not have access to the resource", "originalRequest": { "url": { "path": [ "audience-segments", ":audienceSegmentId", "attendees" ], "host": [ "{{baseUrl}}" ], "query": [ { "key": "limit", "value": "100" }, { "key": "token", "value": "0e28af57-511f-47ab-ae46-46cd1ca51a1a" }, { "key": "before", "value": "2017-01-02T02:00:00Z" }, { "key": "after", "value": "2017-01-02T02:00:00Z" }, { "key": "filter", "value": "disassociated eq 'false'" }, { "key": "includeDisassociated", "value": "true" } ], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "GET", "body": {} }, "status": "Forbidden", "code": 403, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 403,\n \"message\": \"Access Forbidden\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "5d766110-472a-47a0-a9ca-653f98876ef1", "name": "Resource not found", "originalRequest": { "url": { "path": [ "audience-segments", ":audienceSegmentId", "attendees" ], "host": [ "{{baseUrl}}" ], "query": [ { "key": "limit", "value": "100" }, { "key": "token", "value": "0e28af57-511f-47ab-ae46-46cd1ca51a1a" }, { "key": "before", "value": "2017-01-02T02:00:00Z" }, { "key": "after", "value": "2017-01-02T02:00:00Z" }, { "key": "filter", "value": "disassociated eq 'false'" }, { "key": "includeDisassociated", "value": "true" } ], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "GET", "body": {} }, "status": "Not Found", "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 404,\n \"message\": \"Not found\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "c7e29235-8387-4d85-9c4c-3241ba56377d", "name": "Too many requests", "originalRequest": { "url": { "path": [ "audience-segments", ":audienceSegmentId", "attendees" ], "host": [ "{{baseUrl}}" ], "query": [ { "key": "limit", "value": "100" }, { "key": "token", "value": "0e28af57-511f-47ab-ae46-46cd1ca51a1a" }, { "key": "before", "value": "2017-01-02T02:00:00Z" }, { "key": "after", "value": "2017-01-02T02:00:00Z" }, { "key": "filter", "value": "disassociated eq 'false'" }, { "key": "includeDisassociated", "value": "true" } ], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "GET", "body": {} }, "status": "Too Many Requests", "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 429,\n \"message\": \"Limit Exceeded\"\n}", "cookie": [], "_postman_previewlanguage": "json" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "230b6e8d-1d2b-45da-a416-fd1138f3e91a", "name": "Associate Attendee to Segment", "request": { "name": "Associate Attendee to Segment", "description": { "content": "Associates an attendee to a given audience segment.", "type": "text/plain" }, "url": { "path": [ "audience-segments", ":audienceSegmentId", "attendees", ":attendeeId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." }, { "disabled": false, "type": "any", "value": "", "key": "attendeeId", "description": "(Required) ID of an attendee." } ] }, "header": [ { "key": "Accept", "value": "application/json" } ], "method": "PUT", "auth": { "type": "oauth2", "oauth2": [ { "key": "scope", "value": "account/hooks:delete account/hooks:read account/hooks:write account/user-groups:delete account/user-groups:read account/user-groups:write account/users:delete account/users:read account/users:write appointments/appointment-attendees:read appointments/appointment-events:read appointments/appointment-types:read appointments/appointments:read appointments/appointments:write appointments/available-times:read appointments/locations:read attendee-insights/attendee-insights:read attendee-insights/scores:read attendee-insights/stats:read budget/budget-items:delete budget/budget-items:read budget/budget-items:write budget/budget-totals:read budget/budget-vendors:read budget/cards:read budget/currency-conversion-rate:delete budget/currency-conversion-rate:read budget/currency-conversion-rate:write budget/payments:delete budget/payments:read budget/payments:write budget/transactions:delete budget/transactions:read budget/transactions:write bulk/bulk-jobs:read bulk/bulk-jobs:write business-transient/bids:read business-transient/proposals:read business-transient/supplier-brands:read business-transient/supplier-chains:read business-transient/supplier-properties:read business-transient/supplier-property-rooms:read business-transient/travel-accounts:read business-transient/travel-program-questions:read business-transient/travel-programs:read business-transient/travel-supplier-accounts:read business-travel/bids:read business-travel/proposals:read business-travel/travel-accounts:read business-travel/travel-program-questions:read business-travel/travel-programs:read compliance/communications:read compliance/communications:write email/bounces:read email/email-status:read email/emails:read eMarketing/campaigns:read emarketing/emarketing-email-status:read eMarketing/eMarketing-email-templates:read eMarketing/eMarketing-send-emails:write event/admission-items:read event/air-request:read event/alternate-travel:read event/attendance-durations:read event/attendee-activities-metadata:delete event/attendee-activities-metadata:read event/attendee-activities-metadata:write event/attendee-activities:read event/attendee-activities:write event/attendee-credits:read event/attendee-links:delete event/attendee-links:read event/attendee-links:write event/attendee-messages:read event/attendees:read event/attendees:write event/audience-segments:read event/audience-segments:write event/contact-groups:read event/contact-groups:write event/contact-types:read event/contacts:delete event/contacts:read event/contacts:write event/contacts:write-sensitive event/custom-fields:read event/custom-fields:write event/discounts:write event/donation-items:read event/event-discounts:read event/event-discounts:write event/event-email-status:read event/event-emails:read event/event-emails:write event/event-features:read event/event-features:write event/event-user-groups:read event/event-user-groups:write event/events:read event/events:write event/fee-items:read event/hotel-request:read event/invitation-lists:read event/meeting-request-forms:read event/meeting-requests:read event/meeting-requests:write event/membership-items:read event/orders:read event/planning-documents:read event/players:read event/process-form-submissions:read event/program-items:delete event/program-items:read event/program-items:write event/quantity-items:read event/quantity-items:write event/registration-paths:read event/registration-types:read event/registration-types:write event/role-assignments:read event/session-attendance:read event/session-attendance:write event/session-categories:read event/session-categories:write event/session-enrollment:delete event/session-enrollment:read event/session-enrollment:write event/session-segments:read event/sessions:delete event/sessions:read event/sessions:write event/speaker-categories:read event/speaker-categories:write event/speakers:delete event/speakers:read event/speakers:write event/taxes:read event/transactions:read event/transactions:write event/video-views:read event/videos:read event/videos:write event/vouchers:read event/webcasts:delete event/webcasts:read event/webcasts:write event/weblinks:read events-plus/hubs:read exhibitor/badges:read exhibitor/badges:write exhibitor/booth-staff:delete exhibitor/booth-staff:read exhibitor/booth-staff:write exhibitor/eliterature-requests:read exhibitor/exhibitor-admins:read exhibitor/exhibitor-admins:write exhibitor/exhibitor-answers:read exhibitor/exhibitor-answers:write exhibitor/exhibitor-categories:delete exhibitor/exhibitor-categories:read exhibitor/exhibitor-categories:write exhibitor/exhibitor-contents:delete exhibitor/exhibitor-contents:read exhibitor/exhibitor-contents:write exhibitor/exhibitor-questions:read exhibitor/exhibitors:delete exhibitor/exhibitors:read exhibitor/exhibitors:write exhibitor/lead-qualification-answers:read exhibitor/lead-qualification-questions:read exhibitor/leads:read exhibitor/registration-packs:delete exhibitor/registration-packs:read exhibitor/registration-packs:write exhibitor/sponsorship-levels:read file/file:read file/file:write housing/connections:write housing/hotel-room-rates:write housing/housing-event-available-nights:read housing/housing-event-hotels:read housing/housing-event-inventory:read housing/housing-event-room-types:read housing/housing-events:read housing/reservation-requests:delete housing/reservation-requests:read housing/reservation-requests:write housing/reservations-link:delete housing/reservations-link:write housing/reservations:delete housing/reservations:read housing/reservations:write onsite/signatures:read proposal/proposals:write remote-printing/badge-print-jobs:read remote-printing/badge-print-jobs:write remote-printing/badge-printer-pools:read rfp/rfp-agenda-items:read rfp/rfp-attachments:read rfp/rfp-custom-fields:read rfp/rfp-guest-rooms:read rfp/rfp-internal-documents:read rfp/rfp-lead-sources:read rfp/rfp-past-events:read rfp/rfp-questions:read rfp/rfp-recipients-history:read rfp/rfp-suppliers:read rfp/rfps:read seating/assignments:read seating/event-seatings:read seating/seats:read seating/tables:read secure-ecommerce/card-tokens:write survey/questions:read survey/respondents:read survey/responses:read survey/standard-survey-email-templates:read survey/standard-survey-email:write survey/standard-survey-questions:read survey/standard-survey-respondents:read survey/standard-survey-respondents:write survey/standard-survey-responses:read survey/standard-survey-responses:write survey/standard-surveys:read survey/survey-questions:read survey/survey-respondents:read survey/survey-respondents:write survey/survey-responses:read survey/survey-responses:write survey/surveys:read venue/meeting-room-overviews:read venue/meeting-rooms:write venue/venue-details-overview:read venue/venue-details:write venue/venue-facility:write" }, { "key": "accessTokenUrl", "value": "https://api-platform.cvent.com/ea/oauth2/token" }, { "key": "grant_type", "value": "client_credentials" } ] } }, "response": [ { "id": "b5769531-51ec-4f28-b739-d9382045ff0f", "name": "Successfully associated an attendee.", "originalRequest": { "url": { "path": [ "audience-segments", ":audienceSegmentId", "attendees", ":attendeeId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." }, { "disabled": false, "type": "any", "value": "", "key": "attendeeId", "description": "(Required) ID of an attendee." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" } ], "method": "PUT", "body": {} }, "status": "No Content", "code": 204, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "b2ffb7af-2557-4603-a633-0a5195346172", "name": "Segments error response details.", "originalRequest": { "url": { "path": [ "audience-segments", ":audienceSegmentId", "attendees", ":attendeeId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." }, { "disabled": false, "type": "any", "value": "", "key": "attendeeId", "description": "(Required) ID of an attendee." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "PUT", "body": {} }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 400,\n \"message\": \"Bad Request\",\n \"validationCode\": \"SEGMENTS_PER_EVENT_LIMIT_REACHED\",\n \"details\": [\n {\n \"code\": 400,\n \"message\": \"Bad Request\",\n \"target\": \"example target\"\n },\n {\n \"code\": 400,\n \"message\": \"Bad Request\",\n \"target\": \"example target\"\n }\n ],\n \"target\": \"example target\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "3844d9d8-779d-46ee-822c-667fab5b7b48", "name": "Bad or expired token", "originalRequest": { "url": { "path": [ "audience-segments", ":audienceSegmentId", "attendees", ":attendeeId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." }, { "disabled": false, "type": "any", "value": "", "key": "attendeeId", "description": "(Required) ID of an attendee." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "PUT", "body": {} }, "status": "Unauthorized", "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 401,\n \"message\": \"Unauthorized\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "ce3d837e-3825-4979-8614-2ff8dfa67d3f", "name": "You do not have access to the resource", "originalRequest": { "url": { "path": [ "audience-segments", ":audienceSegmentId", "attendees", ":attendeeId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." }, { "disabled": false, "type": "any", "value": "", "key": "attendeeId", "description": "(Required) ID of an attendee." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "PUT", "body": {} }, "status": "Forbidden", "code": 403, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 403,\n \"message\": \"Access Forbidden\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "6bcbb355-3c36-448b-9864-d074d789365f", "name": "Resource not found", "originalRequest": { "url": { "path": [ "audience-segments", ":audienceSegmentId", "attendees", ":attendeeId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." }, { "disabled": false, "type": "any", "value": "", "key": "attendeeId", "description": "(Required) ID of an attendee." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "PUT", "body": {} }, "status": "Not Found", "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 404,\n \"message\": \"Not found\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "6d5b70a0-f838-4c99-a494-c17282b6d882", "name": "Was not able to process the request.", "originalRequest": { "url": { "path": [ "audience-segments", ":audienceSegmentId", "attendees", ":attendeeId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." }, { "disabled": false, "type": "any", "value": "", "key": "attendeeId", "description": "(Required) ID of an attendee." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "PUT", "body": {} }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 422,\n \"message\": \"Unprocessable Entity\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "6a63d7c2-f935-4bf5-ac20-481a4bd88a79", "name": "Too many requests", "originalRequest": { "url": { "path": [ "audience-segments", ":audienceSegmentId", "attendees", ":attendeeId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." }, { "disabled": false, "type": "any", "value": "", "key": "attendeeId", "description": "(Required) ID of an attendee." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "PUT", "body": {} }, "status": "Too Many Requests", "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 429,\n \"message\": \"Limit Exceeded\"\n}", "cookie": [], "_postman_previewlanguage": "json" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "e1b9bb38-e441-4d24-a0d8-f473866d3555", "name": "Disassociate Attendee", "request": { "name": "Disassociate Attendee", "description": { "content": "Disassociate an attendee from an audience segment.", "type": "text/plain" }, "url": { "path": [ "audience-segments", ":audienceSegmentId", "attendees", ":attendeeId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." }, { "disabled": false, "type": "any", "value": "", "key": "attendeeId", "description": "(Required) ID of an attendee." } ] }, "header": [ { "key": "Accept", "value": "application/json" } ], "method": "DELETE", "auth": { "type": "oauth2", "oauth2": [ { "key": "scope", "value": "account/hooks:delete account/hooks:read account/hooks:write account/user-groups:delete account/user-groups:read account/user-groups:write account/users:delete account/users:read account/users:write appointments/appointment-attendees:read appointments/appointment-events:read appointments/appointment-types:read appointments/appointments:read appointments/appointments:write appointments/available-times:read appointments/locations:read attendee-insights/attendee-insights:read attendee-insights/scores:read attendee-insights/stats:read budget/budget-items:delete budget/budget-items:read budget/budget-items:write budget/budget-totals:read budget/budget-vendors:read budget/cards:read budget/currency-conversion-rate:delete budget/currency-conversion-rate:read budget/currency-conversion-rate:write budget/payments:delete budget/payments:read budget/payments:write budget/transactions:delete budget/transactions:read budget/transactions:write bulk/bulk-jobs:read bulk/bulk-jobs:write business-transient/bids:read business-transient/proposals:read business-transient/supplier-brands:read business-transient/supplier-chains:read business-transient/supplier-properties:read business-transient/supplier-property-rooms:read business-transient/travel-accounts:read business-transient/travel-program-questions:read business-transient/travel-programs:read business-transient/travel-supplier-accounts:read business-travel/bids:read business-travel/proposals:read business-travel/travel-accounts:read business-travel/travel-program-questions:read business-travel/travel-programs:read compliance/communications:read compliance/communications:write email/bounces:read email/email-status:read email/emails:read eMarketing/campaigns:read emarketing/emarketing-email-status:read eMarketing/eMarketing-email-templates:read eMarketing/eMarketing-send-emails:write event/admission-items:read event/air-request:read event/alternate-travel:read event/attendance-durations:read event/attendee-activities-metadata:delete event/attendee-activities-metadata:read event/attendee-activities-metadata:write event/attendee-activities:read event/attendee-activities:write event/attendee-credits:read event/attendee-links:delete event/attendee-links:read event/attendee-links:write event/attendee-messages:read event/attendees:read event/attendees:write event/audience-segments:read event/audience-segments:write event/contact-groups:read event/contact-groups:write event/contact-types:read event/contacts:delete event/contacts:read event/contacts:write event/contacts:write-sensitive event/custom-fields:read event/custom-fields:write event/discounts:write event/donation-items:read event/event-discounts:read event/event-discounts:write event/event-email-status:read event/event-emails:read event/event-emails:write event/event-features:read event/event-features:write event/event-user-groups:read event/event-user-groups:write event/events:read event/events:write event/fee-items:read event/hotel-request:read event/invitation-lists:read event/meeting-request-forms:read event/meeting-requests:read event/meeting-requests:write event/membership-items:read event/orders:read event/planning-documents:read event/players:read event/process-form-submissions:read event/program-items:delete event/program-items:read event/program-items:write event/quantity-items:read event/quantity-items:write event/registration-paths:read event/registration-types:read event/registration-types:write event/role-assignments:read event/session-attendance:read event/session-attendance:write event/session-categories:read event/session-categories:write event/session-enrollment:delete event/session-enrollment:read event/session-enrollment:write event/session-segments:read event/sessions:delete event/sessions:read event/sessions:write event/speaker-categories:read event/speaker-categories:write event/speakers:delete event/speakers:read event/speakers:write event/taxes:read event/transactions:read event/transactions:write event/video-views:read event/videos:read event/videos:write event/vouchers:read event/webcasts:delete event/webcasts:read event/webcasts:write event/weblinks:read events-plus/hubs:read exhibitor/badges:read exhibitor/badges:write exhibitor/booth-staff:delete exhibitor/booth-staff:read exhibitor/booth-staff:write exhibitor/eliterature-requests:read exhibitor/exhibitor-admins:read exhibitor/exhibitor-admins:write exhibitor/exhibitor-answers:read exhibitor/exhibitor-answers:write exhibitor/exhibitor-categories:delete exhibitor/exhibitor-categories:read exhibitor/exhibitor-categories:write exhibitor/exhibitor-contents:delete exhibitor/exhibitor-contents:read exhibitor/exhibitor-contents:write exhibitor/exhibitor-questions:read exhibitor/exhibitors:delete exhibitor/exhibitors:read exhibitor/exhibitors:write exhibitor/lead-qualification-answers:read exhibitor/lead-qualification-questions:read exhibitor/leads:read exhibitor/registration-packs:delete exhibitor/registration-packs:read exhibitor/registration-packs:write exhibitor/sponsorship-levels:read file/file:read file/file:write housing/connections:write housing/hotel-room-rates:write housing/housing-event-available-nights:read housing/housing-event-hotels:read housing/housing-event-inventory:read housing/housing-event-room-types:read housing/housing-events:read housing/reservation-requests:delete housing/reservation-requests:read housing/reservation-requests:write housing/reservations-link:delete housing/reservations-link:write housing/reservations:delete housing/reservations:read housing/reservations:write onsite/signatures:read proposal/proposals:write remote-printing/badge-print-jobs:read remote-printing/badge-print-jobs:write remote-printing/badge-printer-pools:read rfp/rfp-agenda-items:read rfp/rfp-attachments:read rfp/rfp-custom-fields:read rfp/rfp-guest-rooms:read rfp/rfp-internal-documents:read rfp/rfp-lead-sources:read rfp/rfp-past-events:read rfp/rfp-questions:read rfp/rfp-recipients-history:read rfp/rfp-suppliers:read rfp/rfps:read seating/assignments:read seating/event-seatings:read seating/seats:read seating/tables:read secure-ecommerce/card-tokens:write survey/questions:read survey/respondents:read survey/responses:read survey/standard-survey-email-templates:read survey/standard-survey-email:write survey/standard-survey-questions:read survey/standard-survey-respondents:read survey/standard-survey-respondents:write survey/standard-survey-responses:read survey/standard-survey-responses:write survey/standard-surveys:read survey/survey-questions:read survey/survey-respondents:read survey/survey-respondents:write survey/survey-responses:read survey/survey-responses:write survey/surveys:read venue/meeting-room-overviews:read venue/meeting-rooms:write venue/venue-details-overview:read venue/venue-details:write venue/venue-facility:write" }, { "key": "accessTokenUrl", "value": "https://api-platform.cvent.com/ea/oauth2/token" }, { "key": "grant_type", "value": "client_credentials" } ] } }, "response": [ { "id": "ca462df3-df36-4348-9f81-e7552b4a634a", "name": "Successfully disassociated an attendee.", "originalRequest": { "url": { "path": [ "audience-segments", ":audienceSegmentId", "attendees", ":attendeeId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." }, { "disabled": false, "type": "any", "value": "", "key": "attendeeId", "description": "(Required) ID of an attendee." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" } ], "method": "DELETE", "body": {} }, "status": "No Content", "code": 204, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "2378606a-f8c7-490b-897e-9ff0c42b4821", "name": "Bad or expired token", "originalRequest": { "url": { "path": [ "audience-segments", ":audienceSegmentId", "attendees", ":attendeeId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." }, { "disabled": false, "type": "any", "value": "", "key": "attendeeId", "description": "(Required) ID of an attendee." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "DELETE", "body": {} }, "status": "Unauthorized", "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 401,\n \"message\": \"Unauthorized\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "e085eeb1-0a52-4ed9-aafa-e9f3f75d42d6", "name": "You do not have access to the resource", "originalRequest": { "url": { "path": [ "audience-segments", ":audienceSegmentId", "attendees", ":attendeeId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." }, { "disabled": false, "type": "any", "value": "", "key": "attendeeId", "description": "(Required) ID of an attendee." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "DELETE", "body": {} }, "status": "Forbidden", "code": 403, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 403,\n \"message\": \"Access Forbidden\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "e5e7adaf-eb36-4601-ad3d-2e2d404d4f68", "name": "Resource not found", "originalRequest": { "url": { "path": [ "audience-segments", ":audienceSegmentId", "attendees", ":attendeeId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." }, { "disabled": false, "type": "any", "value": "", "key": "attendeeId", "description": "(Required) ID of an attendee." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "DELETE", "body": {} }, "status": "Not Found", "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 404,\n \"message\": \"Not found\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "125addf6-c620-4f40-8eac-de8cf8782119", "name": "Too many requests", "originalRequest": { "url": { "path": [ "audience-segments", ":audienceSegmentId", "attendees", ":attendeeId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "audienceSegmentId", "description": "(Required) ID of an audience segment." }, { "disabled": false, "type": "any", "value": "", "key": "attendeeId", "description": "(Required) ID of an attendee." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: oauth2", "type": "text/plain" }, "key": "Authorization", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "DELETE", "body": {} }, "status": "Too Many Requests", "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"code\": 429,\n \"message\": \"Limit Exceeded\"\n}", "cookie": [], "_postman_previewlanguage": "json" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } } ], "event": [] } ], "event": [], "variable": [ { "type": "string", "value": "https://api-platform.cvent.com/ea", "key": "baseUrl" } ], "info": { "_postman_id": "3f80f546-bf71-430c-aad8-0076dbbea1cc", "name": "Cvent REST APIs — Event Cloud Audience Segments API", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "description": { "content": "Event Cloud scope of the Cvent REST APIs. This document is a TAG-SCOPED SUBSET of the OpenAPI specification Cvent publishes at https://github.com/cvent/rest-sdks/blob/main/cvent-public-spec/openapi.yaml (the source of truth for Cvent's official TypeScript/.NET/Java SDKs). Venue-sourcing, RFP, housing-supplier and travel-supplier tags were removed because they belong to Cvent Hospitality Cloud; every path, operation, parameter, schema and security requirement below is verbatim from Cvent's published spec.\n\n# Introduction\nThe Cvent API Platform is built around REST. We aim to provide intuitive endpoints that can be easily\ndiscovered to help leverage the Cvent platform for your event needs. The RESTful APIs outlined here\nuse JSON-encoded request and response format, along with HTTP codes, to convey processing status of\nrequests received. The Cvent resources are protected using OAuth2.\n\n# Getting Started\n\nIf you're new to the Cvent API Platform, start by reading our\n[Developer Quickstart](https://developers.cvent.com/docs/rest-api/tutorials/developer-quickstart) guide. This will\ngive you an overview of how to authenticate and make requests using our APIs.\n\n## Authentication\n\nThe Cvent REST API uses [OAuth2](https://oauth.net/2/) to authorize requests to the platform. The client\ncredentials authorization flow is supported.\n\n\n\nAuthorization code flow is only supported for planner users with the administrator role in Cvent. Developer users\ncannot use authorization code flow.\n\n\n\nHere's an example of using client credential flow to authorize. You'll supply your application's id and secret to\nmake a [Token](#operation/oauth2Token) request.\n\n```bash\ncurl --location --request POST '{hostName}/{version}/oauth2/token' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Authorization: Basic {api_credentials}' \\\n--data-urlencode 'grant_type=client_credentials' \\\n--data-urlencode 'client_id={client_id}'\n```\n\n| Key | Description | Value |\n| :---------------- | :--------------------------------------------------- | :----------------------------------------------------------------------------------------------------------- |\n| {hostName} | https://api-platform.cvent.com | Location if your account is in the North American datacenter. |\n| | https://api-platform-eur.cvent.com | Location if your account is in the European data center. |\n| {version} | ea | The version of the API you're using. Only `ea` is currently supported. |\n| {api_credentials} | {client_id}:{client_secret} in base64 encoded format | Supply your client id & client credentials in a base 64 encoded format. |\n| {client_id} | Retrieved from your application | Your application's client id. |\n| {client_secret} | Retrieved from your application | Your application's client secret. |\n\nOn a successful call, you'll receive the following response:\n\n```json\n{\n \"access_token\": \"{accessToken}\",\n \"expires_in\": 3600,\n \"token_type\": \"Bearer\"\n}\n```\n\nThis bearer token is valid for 3600 seconds (60 minutes) and must be used in subsequent calls.\n\n## Endpoints\n\nEndpoints start with `hostName` and `version`.\n\nThe `hostname` will depend on the region that your Cvent account is hosted in. Please see the table\nbelow to identify which hostname you should be using.\n\n| Region |\tHostname |\n|:--------------|:-----------------------------------|\n| North America\t| https://api-platform.cvent.com |\n| Europe | https://api-platform-eur.cvent.com |\n\nThe current `version` of the Cvent API is `ea`.\n\n## Rate Limits\n\nCvent APIs enforce rate limits to ensure platform stability. Your limits depend on your tier: Free,\nStandard, or Premium.\n\n
\n\n### Usage Tiers\n\n| Tier | Daily Calls | Calls per Second | Max Burst |\n| -------- | ----------- | ---------------- | --------- |\n| Free | 1,000 | 2 | 1 |\n| Standard | 15,000 | 10 | 10 |\n| Premium | 500,000 | 25 | 25 |\n\n- **Daily calls** define how many requests you can make in a 24-hour period. Quota\n resets at 12 midnight (+0 GMT).\n- **Calls per second** define how many requests you can make in a 1-second window.\n- **Max Burst** defines how many requests you can make at once.\n\nIf you are unsure what usage tier applies to your account, you can check via\n[Get Current Usage Tier](#operation/getUsageTier).\n\nPlease note that these limits may change as the Cvent API Platform evolves.\n\n
\n\n### Handling Rate Limits\n\nSometimes, you may exceed your rate limits. When this happens, the API will return a `429 Too Many Requests`. See\n[handling rate limits](https://developers.cvent.com/docs/rest-api/guides/handling-rate-limits) for best practices on how to handle this.\n\n## Pagination\n\nSome APIs use pagination to manage records. Each page of records has a token associated to identify it.\n\nIf an API uses pagination, you’ll find up to three tokens in the response:\n- **currentToken**: Describes the token of the current page.\n- **nextToken**: Provides a token for the next page of records, if one exists.\n- **previousToken**: Provides a token for the previous page of records, if one exists. Not all APIs will return\n this token.\n\nYou specify which page of records to view via the `token` parameter in your API call. To navigate through pages,\ntake the `nextToken` or `previousToken` value and pass it to your next call’s `token` parameter to get the\nrespective page of records. For example, if you made this request:\n\n```bash\ncurl -X GET {hostname}/{version}/contacts?limit=100 \\\n-H 'Accept: application/json' \\\n-H 'Authorization: Bearer {accessToken}'\n```\n\nThe response contains a paging array where you'll find the token information.\n\n```json\n{\n \"paging\": {\n \"currentToken\": \"90c5f062-76ad-4ea4-aa53-00eb698d9262\",\n \"nextToken\": \"3b2359a7-4583-40ed-8afd-67e5f15373d3\",\n \"limit\": 100,\n \"totalCount\": 102,\n \"_links\": {...}\n },\n \"data\": [...]\n}\n```\n\nTake the `nextToken` and use it in the `token` parameter on your subsequent call.\n\n```bash\ncurl -X GET {hostname}/{version}/contacts?limit=100&token=3b2359a7-4583-40ed-8afd-67e5f15373d3 \\\n-H 'Accept: application/json' \\\n-H 'Authorization: Bearer {accessToken}'\n```\n\nWhen the response doesn’t contain a `nextToken` field, you’ve reached the last page. Occasionally, you might\nencounter an empty page at the end of results. This typically happens when the results were evenly divisible.\nEnsure your client code handles the possibility of receiving an empty data array when using the `nextToken`.\n\n## Filtering\n\nUse filters to narrow down results. The filter follows the pattern\n`filter='field' comparisonType 'value'`. The value can be enclosed with single\nquotes (') or double quotes (\").\n\n```bash\nGET {hostName}/{version}/contacts?filter=lastName eq 'Smith'\n````\n\nTo correctly pass a single quote in the filter's value, use double quotes around\nthe string.\n\n```bash\nGET {hostName}/{version}/contacts?filter=lastName eq \"O'Keenan\"\n```\n\nTo correctly pass a double quote in the filter's value, use double quotes around\nthe string and add an escape character `\\` to each quote that is part of the\nstring.\n\n```bash\nGET {hostName}/{version}/events?filter=eventName eq \"\\\"Yearly\\\" Conference\"\n```\n\n## Versioning\n\nChange is inevitable in API development. Planning for it is crucial. We track\nboth backward-compatible and backward-incompatible changes.\n\n
\n\n### Backward Compatible Changes\n\nBackward compatible changes will be made often and are intended to avoid\nany adverse impact on our customers. It is highly advisable that when reading\nJSON payloads from Cvent, you are able to handle \"unknown\" attributes that\ncan be added over time. We consider the following changes backward-compatible:\n\n- Adding new resources\n- Adding new optional request parameters to existing operations\n- Adding new attributes to requests or responses\n- Changing the length or format (not type) of resource identifiers. For example, an ID can change from\n \"1234/1234\" to \"1234::1234\".\n- Increasing the length of string fields\n\n
\n\n### Backward Incompatible Changes\n\nBackward-incompatible changes are made infrequently, however, they can be\ndisruptive to consumers. Due to this, our APIs are versioned to avoid\ndisruptions to customers. We leverage a URI-based versioning scheme,\nwhich means that a version value is included in the Cvent API URL.\nWhen breaking changes occur, a new version of the API is made available\nwhile the existing version is deprecated but remains available for a\nlimited period of time. We consider the following backward-incompatible changes:\n\n- Adding a new required parameter (query string param or payload attribute)\n- Deleting API resources\n- Deleting any attribute from API responses\n- Changing the data type on any parameter or attribute\n\n## Standards\nAs you begin working with our APIs, it's essential to be aware of standards around\ncountry codes, time formats, and other important details that ensure smooth integration.\nLearn more about our [API Standards](https://developers.cvent.com/docs/rest-api/reference/api-standards)\n\n\nContact Support:\n Name: Cvent Development Platform", "type": "text/plain" } } }