Query campaigns based on specified criteria.
To discover available fields and operators for campaign queries:
Call /api/query/options/Campaignto retrieve parameters, operators, and result fields.Build one or more groups of conditions using those parameters. POST the resulting RaiseDonors.Api.Models.Query.QueryRequestModel to this endpoint.
Between operator, provide the lower bound
in value and the upper bound in secondaryValue.
When includeDetails=true, the response includes all related entities (Segments, Pages, PageStatistics)
similar to the GET by ID endpoint. This may impact performance for large result sets.Authentication
Authorizationstring
JWT Authorization header using the Bearer scheme. Example: “Authorization: Bearer {token}”
Request
The campaign query request, including RaiseDonors.Api.Models.Query.QueryRequestModel.QueryType,
structured groups/conditions, selectedColumns, includeDetails, and paging options.
QueryRequestModel
Request body for advanced query endpoints such as donor and campaign queries.
OR
ParsedQueryResponseModel
Represents a parsedquery response model.
Response
OK
items
total
Errors
400
Bad Request Error