GET v3/automatedcampaigns/{automatedCampaignId}/events

https://api.questline.com/v3/automatedcampaigns/{automatedCampaignId}/events

Gets a list of events for an automated campaign.

Request Information

URI Parameters

Name Description Type Additional Info
automatedCampaignId The ID of the automated campaign. integer Required

Body Parameters

None.

Filters

Name Description Usage
date Filters the request by date. GET v3/automatedcampaigns/{automatedCampaignId}/events?filter=date~{operator}~{value}
eventType Filters the request by event type. GET v3/automatedcampaigns/{automatedCampaignId}/events?filter=eventtype~{operator}~{value}
subscriberId Filters the request by subscriber ID. GET v3/automatedcampaigns/{automatedCampaignId}/events?filter=subscriberid~{operator}~{value}

Sorting

Name Description Usage
date Sorts the request by date. GET v3/automatedcampaigns/{automatedCampaignId}/events?sort=date~{direction}

Paging

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

Response Information

Resource Description

GetAutomatedCampaignEventsResponseV3
Name Description Type Additional Info
AutomatedCampaignEvents The list of events. Collection of AutomatedCampaignEventV3 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:

{
  "AutomatedCampaignEvents": [
    {
      "AutomatedCampaignId": 1,
      "AutomatedCampaignStepId": 1,
      "Date": "2024-04-19T06:18:03.4504029+00:00",
      "EventGuid": "ac5fb3e3-2f0f-4432-9465-75fda400923e",
      "EventType": "sample string 3",
      "SubscriberId": "b4b62cc7-b9d6-4d1b-b664-1d4cd316cca3",
      "Target": "sample string 5",
      "Data": "sample string 6"
    },
    {
      "AutomatedCampaignId": 1,
      "AutomatedCampaignStepId": 1,
      "Date": "2024-04-19T06:18:03.4504029+00:00",
      "EventGuid": "ac5fb3e3-2f0f-4432-9465-75fda400923e",
      "EventType": "sample string 3",
      "SubscriberId": "b4b62cc7-b9d6-4d1b-b664-1d4cd316cca3",
      "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' && ({"AutomatedCampaignEvents":[{"AutomatedCampaignId":1,"AutomatedCampaignStepId":1,"Date":"2024-04-19T06:18:03.4504029+00:00","EventGuid":"ac5fb3e3-2f0f-4432-9465-75fda400923e","EventType":"sample string 3","SubscriberId":"b4b62cc7-b9d6-4d1b-b664-1d4cd316cca3","Target":"sample string 5","Data":"sample string 6"},{"AutomatedCampaignId":1,"AutomatedCampaignStepId":1,"Date":"2024-04-19T06:18:03.4504029+00:00","EventGuid":"ac5fb3e3-2f0f-4432-9465-75fda400923e","EventType":"sample string 3","SubscriberId":"b4b62cc7-b9d6-4d1b-b664-1d4cd316cca3","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"}});