analytics-1.4-apis Company.GetReportSuites | Community
Skip to main content
New Participant
January 28, 2021
Solved

analytics-1.4-apis Company.GetReportSuites

  • January 28, 2021
  • 1 reply
  • 2206 views

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.
Best answer by khurshid
You may use the one of the following variations: 1. data = { "search": "bitbangcorporate", "types": [ "virtual" ] } 2. { "search": "bitbangcorporate" } 3. { "types": [ "standard" ] }

1 reply

khurshid
Employee
February 10, 2021

Can you share curl for the request?

New Participant
February 11, 2021

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