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-11-21T09:13:33.9335415+00:00",
      "EventGuid": "9875bc15-7d19-492d-ae19-c42f08952e83",
      "EventType": "sample string 3",
      "SubscriberId": "9ddc1583-af3c-4e54-aa5a-ec28fe6182de",
      "Target": "sample string 5",
      "Data": "sample string 6"
    },
    {
      "AutomatedCampaignId": 1,
      "AutomatedCampaignStepId": 1,
      "Date": "2024-11-21T09:13:33.9335415+00:00",
      "EventGuid": "9875bc15-7d19-492d-ae19-c42f08952e83",
      "EventType": "sample string 3",
      "SubscriberId": "9ddc1583-af3c-4e54-aa5a-ec28fe6182de",
      "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-11-21T09:13:33.9335415+00:00","EventGuid":"9875bc15-7d19-492d-ae19-c42f08952e83","EventType":"sample string 3","SubscriberId":"9ddc1583-af3c-4e54-aa5a-ec28fe6182de","Target":"sample string 5","Data":"sample string 6"},{"AutomatedCampaignId":1,"AutomatedCampaignStepId":1,"Date":"2024-11-21T09:13:33.9335415+00:00","EventGuid":"9875bc15-7d19-492d-ae19-c42f08952e83","EventType":"sample string 3","SubscriberId":"9ddc1583-af3c-4e54-aa5a-ec28fe6182de","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"}});