Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Target Admin Apis -Questions on Filtering, Sorting, and Controlling Fields Returned

Avatar

Level 3

Hello,

 

I am looking at working with the Target Admin APIs (not v1, but these https://developer.adobe.com/target/administer/admin-api/). 

I have two main questions:

 

(1) For some of the "List" endpoints (such as Audiences or Activities), the documentation states that the results can be filtered or sorted by attributes. However, there is no documentation regarding format and what attributes may be filtered by. For example, I did figure out how to filter by Activity state (i.e. ?state=approved,deactivated); however, I cannot figure how to filter by dates of any kind (modified, created, lifetime start, etc). There is no documentation on which date fields (if any) can be filtered on, nor how one could filter by a date range rather than a single date.

 

(2) For some of the detail endpoints, I noticed that not all data seems to be returned by default. For example, according to the docs, the response from the "/audiences/{id}" endpoint should contain fields for "status" and "type"; however, the response from my endpoint contains neither of these fields. Is there any way to control which fields are returned by the endpoint?

 

Is there some other place that these options are documented?

Thanks.

0 Replies