Segments endpoint API 2.0 returns blank response

Avatar

Avatar

jharrington7897

Avatar

jharrington7897

jharrington7897

10-01-2020

Feel like I'm doing something dumb here.

 

Trying to hit the "segments" endpoint on the 2.0 API, in order to create a mapping of "segment id" to "segment name"

It returns a 200 code, but only returns an empty JSON.  Am I doing something wrong with the URL or request?:

 

Firing a GET to this location:

https://analytics.adobe.io/api/[myglobalcompanyid]/segments/?rsids=[myreportsuite]

 

Response:

[20-01-10 16:15:51:093 CST]

{"content":[],"numberOfElements":0,"totalElements":0,"totalPages":0,"lastPage":true,"firstPage":true,"sort":null,"size":10,"number":0}

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

jharrington7897

Avatar

jharrington7897

jharrington7897

10-01-2020

Figured it out!

 

You must include "&includeType=all", otherwise nothing comes back.

 

In the Swagger UI, this is not a required value

Answers (0)