Export limited fields with New V3 API | XM Community
Skip to main content
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)
Be the first to reply!

Leave a Reply