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

analytics-1.4-apis Company.GetReportSuites

sgiostra
Level 1
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

4 Replies
sgiostra
Level 1
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

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