How to pass URI in python post request?

  • 1
  • Question
  • Updated 4 months ago
  • Acknowledged
I am trying to use GenerateReport which has these fields


I know this line of code works with web services when no URI is needed

request =, headers = headers, auth = (companyKey+'\\'+loginName, password))

I tried

data ={"reportUri": "uri",
  "filterValues": [],
  "outputFormatUri": "csv"}

request =, headers = headers, auth = (companyKey+'\\'+loginName, password), params = data)

But it doesn't work - how do you pass these fields? the API documentation is lacking and confusing.
Photo of Galloway, Sarah

Galloway, Sarah

  • 1 Post
  • 0 Reply Likes
  • frustrated

Posted 4 months ago

  • 1
Photo of Vinodh.V

Vinodh.V, Community Moderator

  • 337 Posts
  • 9 Reply Likes
Hello Sarah,

Thank you for posting your query in Replicon Community.

Your query is about how to pass URI in Python.

We will have one of our support team member to reach out to you and assist you with this query.