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
BedrockMission!

Learn More

View all

Sign in to view all badges

Segments endpoint API 2.0 returns blank response

Avatar

Avatar
Validate 1
Level 4
jharrington7897
Level 4

Likes

66 likes

Total Posts

50 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile

Avatar
Validate 1
Level 4
jharrington7897
Level 4

Likes

66 likes

Total Posts

50 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
jharrington7897
Level 4

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
Validate 1
Level 4
jharrington7897
Level 4

Likes

66 likes

Total Posts

50 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile

Avatar
Validate 1
Level 4
jharrington7897
Level 4

Likes

66 likes

Total Posts

50 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
jharrington7897
Level 4

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)