GET v3/standardcampaigns/{standardCampaignId}/events/{eventType}

https://api.questline.com/v3/standardcampaigns/{standardCampaignId}/events/{eventType}

Gets a list of events for a standard campaign.

Request Information

URI Parameters

Name Description Type Additional Info
standardCampaignId The ID of the standard campaign. globally unique identifier Required
eventType The event type of the events to return. EventType Required

Body Parameters

None.

Filters

Name Description Usage
date Filters the request by date. GET v3/standardcampaigns/{standardCampaignId}/events/{eventType}?filter=date~{operator}~{value}
subscriberId Filters the request by subscriber ID. GET v3/standardcampaigns/{standardCampaignId}/events/{eventType}?filter=subscriberid~{operator}~{value}

Paging

Name Description Usage
index The index to retrieve when requesting paged results. GET v3/standardcampaigns/{standardCampaignId}/events/{eventType}?page=index~{value}
size The size of the page when requesting paged results. GET v3/standardcampaigns/{standardCampaignId}/events/{eventType}?page=size~{value}

Response Information

Resource Description

GetStandardCampaignEventsResponseV3
Name Description Type Additional Info
StandardCampaignEvents The list of events. Collection of StandardCampaignEventV3 None.
NextPageUrl The URL of the next page of data for the list. string None.
PageIndex The index of the requested page. integer None.
PageSize The size of the requested page. integer None.
TotalPages The total number of pages, based on total results and page size. integer None.
TotalResults The total number of results. integer None.
Error The response error, if any. ResponseErrorV3 None.

Response Formats

application/json, text/json

Sample:

{
  "StandardCampaignEvents": [
    {
      "StandardCampaignId": "0f9970ae-240a-4090-acfd-77c95fb06a4a",
      "StandardCampaignSendId": "8d55cef4-312c-4e23-b124-f7962935d2d8",
      "Date": "2024-11-21T07:18:14.8146328+00:00",
      "EventGuid": "b4f003ca-d24b-4c06-9824-4927fc7bcf7b",
      "EventType": "sample string 3",
      "SubscriberId": "9559d287-3ec9-43ec-931c-0dc895db1eb6",
      "Target": "sample string 5",
      "Data": "sample string 6"
    },
    {
      "StandardCampaignId": "0f9970ae-240a-4090-acfd-77c95fb06a4a",
      "StandardCampaignSendId": "8d55cef4-312c-4e23-b124-f7962935d2d8",
      "Date": "2024-11-21T07:18:14.8146328+00:00",
      "EventGuid": "b4f003ca-d24b-4c06-9824-4927fc7bcf7b",
      "EventType": "sample string 3",
      "SubscriberId": "9559d287-3ec9-43ec-931c-0dc895db1eb6",
      "Target": "sample string 5",
      "Data": "sample string 6"
    }
  ],
  "NextPageUrl": "sample string 1",
  "PageIndex": 1,
  "PageSize": 1,
  "TotalPages": 1,
  "TotalResults": 1,
  "Error": {
    "ErrorId": 1,
    "ErrorMessage": "sample string 1"
  }
}

text/javascript, application/javascript, application/json-p

Sample:

/**/ typeof  === 'function' && ({"StandardCampaignEvents":[{"StandardCampaignId":"0f9970ae-240a-4090-acfd-77c95fb06a4a","StandardCampaignSendId":"8d55cef4-312c-4e23-b124-f7962935d2d8","Date":"2024-11-21T07:18:14.8146328+00:00","EventGuid":"b4f003ca-d24b-4c06-9824-4927fc7bcf7b","EventType":"sample string 3","SubscriberId":"9559d287-3ec9-43ec-931c-0dc895db1eb6","Target":"sample string 5","Data":"sample string 6"},{"StandardCampaignId":"0f9970ae-240a-4090-acfd-77c95fb06a4a","StandardCampaignSendId":"8d55cef4-312c-4e23-b124-f7962935d2d8","Date":"2024-11-21T07:18:14.8146328+00:00","EventGuid":"b4f003ca-d24b-4c06-9824-4927fc7bcf7b","EventType":"sample string 3","SubscriberId":"9559d287-3ec9-43ec-931c-0dc895db1eb6","Target":"sample string 5","Data":"sample string 6"}],"NextPageUrl":"sample string 1","PageIndex":1,"PageSize":1,"TotalPages":1,"TotalResults":1,"Error":{"ErrorId":1,"ErrorMessage":"sample string 1"}});