GET v3/automatedcampaigns

https://api.questline.com/v3/automatedcampaigns

Gets a list of automated campaigns.

Request Information

URI Parameters

None.

Body Parameters

None.

Expands

Name Description Usage
steps Retrieves the related steps. GET v3/automatedcampaigns?expand=steps

Filters

Name Description Usage
created Filters the request by created date. GET v3/automatedcampaigns?filter=created~{operator}~{value}
name Filters the request by name. GET v3/automatedcampaigns?filter=name~{operator}~{value}
status Filters the request by status. GET v3/automatedcampaigns?filter=status~{operator}~{value}

Sorting

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

Paging

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

Response Information

Resource Description

GetAutomatedCampaignsResponseV3
Name Description Type Additional Info
AutomatedCampaigns The list of automated campaigns. Collection of AutomatedCampaignV3 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:

{
  "AutomatedCampaigns": [
    {
      "AutomatedCampaignId": 4,
      "Created": "2024-11-21T09:14:07.6993683+00:00",
      "IsMultipass": true,
      "Name": "sample string 3",
      "Status": "sample string 5",
      "Steps": [
        {
          "AutomatedCampaignStepId": 1,
          "AutomatedCampaignId": 2,
          "RunOrder": 3,
          "StepType": "sample string 4"
        },
        {
          "AutomatedCampaignStepId": 1,
          "AutomatedCampaignId": 2,
          "RunOrder": 3,
          "StepType": "sample string 4"
        }
      ],
      "SubscriberCounts": {
        "Completed": 1,
        "InProgress": 2,
        "New": 3,
        "Total": 4
      },
      "Type": "sample string 6"
    },
    {
      "AutomatedCampaignId": 4,
      "Created": "2024-11-21T09:14:07.6993683+00:00",
      "IsMultipass": true,
      "Name": "sample string 3",
      "Status": "sample string 5",
      "Steps": [
        {
          "AutomatedCampaignStepId": 1,
          "AutomatedCampaignId": 2,
          "RunOrder": 3,
          "StepType": "sample string 4"
        },
        {
          "AutomatedCampaignStepId": 1,
          "AutomatedCampaignId": 2,
          "RunOrder": 3,
          "StepType": "sample string 4"
        }
      ],
      "SubscriberCounts": {
        "Completed": 1,
        "InProgress": 2,
        "New": 3,
        "Total": 4
      },
      "Type": "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' && ({"AutomatedCampaigns":[{"AutomatedCampaignId":4,"Created":"2024-11-21T09:14:07.6993683+00:00","IsMultipass":true,"Name":"sample string 3","Status":"sample string 5","Steps":[{"AutomatedCampaignStepId":1,"AutomatedCampaignId":2,"RunOrder":3,"StepType":"sample string 4"},{"AutomatedCampaignStepId":1,"AutomatedCampaignId":2,"RunOrder":3,"StepType":"sample string 4"}],"SubscriberCounts":{"Completed":1,"InProgress":2,"New":3,"Total":4},"Type":"sample string 6"},{"AutomatedCampaignId":4,"Created":"2024-11-21T09:14:07.6993683+00:00","IsMultipass":true,"Name":"sample string 3","Status":"sample string 5","Steps":[{"AutomatedCampaignStepId":1,"AutomatedCampaignId":2,"RunOrder":3,"StepType":"sample string 4"},{"AutomatedCampaignStepId":1,"AutomatedCampaignId":2,"RunOrder":3,"StepType":"sample string 4"}],"SubscriberCounts":{"Completed":1,"InProgress":2,"New":3,"Total":4},"Type":"sample string 6"}],"NextPageUrl":"sample string 1","PageIndex":1,"PageSize":1,"TotalPages":1,"TotalResults":1,"Error":{"ErrorId":1,"ErrorMessage":"sample string 1"}});