since ‎18-01-2021
‎16-03-2021
sgiostra
Level 1
Re: analytics-1.4-apis Company.GetReportSuites
Avatar

sgiostra

sgiostra
- Adobe Analytics
Hi @Khurshid_Alam , i will try, thanks

Views

83

Likes

0

Replies

0
Re: analytics-1.4-apis Company.GetReportSuites
Avatar

sgiostra

sgiostra
- Adobe Analytics
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 trye...

Views

107

Likes

0

Replies

0
Re: analytics-1.4-apis data-sources-api
Avatar

sgiostra

sgiostra
- Adobe Analytics
Hi Khurshid,i found the issue, the cause is not the comma (Python allow trailing comma in a dictonary and clean it before to convert the dict in a "real" JSON).To resolve the issue, in the requests.post call I must pass the parameters as json and not as data: response = requests.post(url + "DataSources.UploadData", headers=header, json=payload)

Views

200

Likes

0

Replies

0
Re: analytics-1.4-apis data-sources-api
Avatar

sgiostra

sgiostra
- Adobe Analytics
Hi Khurshid,I've updated the question with the rows that i'm using in the testrows = [ ["12/31/2020", "100011173", "1", "2", "3", "4"], ["01/29/2021", "100011173", "1", "3", "4", "5"], ["01/30/2021", "100011173", "2", "6", "5", "6"], ["01/31/2021", "100011173", "3", "4", "5", "6"], ["02/01/2021", "100011173", "4", "5", "6", "7"],]

Views

215

Likes

0

Replies

0
analytics-1.4-apis data-sources-api
Avatar

sgiostra

sgiostra
- Adobe Analytics
Hi,we're using the data-sources-api of analytics-1.4-apis and we got this error: "invalid columns, at least one is required and columns must match for each upload" when we try to use DataSources.UploadData.We using python 3.7 with the requests library.As required by the APi ( sees the doc ), on the post request we define the columns parameter as array of string:columns = ["Date", "Evar 96", "Event 97", "Event 99", "Event 98", "Event 100"]rows = [ ["12/31/2020", "100011173", "1", "2", "3", "4"], ...

Views

231

Likes

0

Replies

5
analytics-1.4-apis Company.GetReportSuites
Avatar

sgiostra

sgiostra
- Adobe Analytics
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_des...

Views

152

Likes

0

Replies

4
Likes given to