Export limited fields with New V3 API | XM Community

Export limited fields with New V3 API

  • 9 January 2019
  • 0 replies
  • 2 views

I need to export limited fields from V3 API but getting error. Please review below code:

Step 1: Creating Data Export


downloadRequestUrl = baseUrl
downloadRequestPayload = '{"format":"' + fileFormat + '","startDate": "2019-01-01T00:00:00Z","endDate": "2019-01-05T13:36:24Z"}'
downloadRequestResponse = requests.request("POST", downloadRequestUrl, data=downloadRequestPayload, headers=headers)
progressId = downloadRequestResponse.json()["result"]["progressId"]
print(downloadRequestResponse.text)

0 replies

Be the first to reply!

Leave a Reply