Expand my Community achievements bar.

Join us at Adobe Summit 2024 for the Coffee Break Q&A Live series, a unique opportunity to network with and learn from expert users, the Adobe product team, and Adobe partners in a small group, 30 minute AMA conversations.
SOLVED

analytics-1.4-apis Company.GetReportSuites

Avatar

Level 1

Hi,

from the doc: https://github.com/AdobeDocs/analytics-1.4-apis/blob/master/docs/admin-api/methods/company/r_GetRepo... 

and https://adobedocs.github.io/analytics-1.4-apis/swagger-docs.html#/Company/Company.GetReportSuites 

I don't understand how to use the parameter search 

 

searchxsd:stringA search filter to apply in retrieving report suites.

 

I can't  leave the parameter empty and i can't don't pass the parameter

  404 {"error":"Not Found","error_description":"","error_uri":""}

 

Can someone helps me?

Thanks

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor
You may use the one of the following variations: 1. data = { "search": "bitbangcorporate", "types": [ "virtual" ] } 2. { "search": "bitbangcorporate" } 3. { "types": [ "standard" ] }

View solution in original post

4 Replies

Avatar

Employee Advisor

Can you share curl for the request?

Avatar

Level 1

Hi Khurshid,

I corrent mi request, now I don't get no more the error, but the API ignore the values that I use as filter.

I'm using the python requests library the body of the post is this:

 

data = {'types': ['standard', 'rollup', 'virtual'], 'search': "rsid='bitbangcorporatetestrollupsimo'"}

 

and this is the call

 

url = "https://api.omniture.com/admin/1.4/rest/?method="
response = requests.post(url + "Company.GetReportSuites", headers=header, data=data)

 

and the API don't apply the filter, why?

I tryed also removing the quotas on the value bitbangcorporatetestrollupsimo, but the resault don't change

 

Stefano

Avatar

Correct answer by
Employee Advisor
You may use the one of the following variations: 1. data = { "search": "bitbangcorporate", "types": [ "virtual" ] } 2. { "search": "bitbangcorporate" } 3. { "types": [ "standard" ] }