analytics-1.4-apis Company.GetReportSuites | Community
Skip to main content
New Participant
Jan 28, 2021 4:29 PM UTC
Solved

analytics-1.4-apis Company.GetReportSuites

Hi,

from the doc: https://github.com/AdobeDocs/analytics-1.4-apis/blob/master/docs/admin-api/methods/company/r_GetReportSuites.md#companygetreportsuites-request-parameters 

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
khurshid
khurshidAccepted solution
Employee
Feb 15, 2021 6:53 PM UTC
You may use the one of the following variations: 1. data = { "search": "bitbangcorporate", "types": [ "virtual" ] } 2. { "search": "bitbangcorporate" } 3. { "types": [ "standard" ] }

4 replies

khurshid
Employee
Feb 10, 2021 6:40 PM UTC

Can you share curl for the request?

Translate
New Participant
Feb 11, 2021 8:26 AM UTC

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

Translate