10-25-2018 04:20 AM - edited 07-05-2021 09:22 AM
Hi.
I'm trying to automate large dataset generation but for some reason starting the data export is not working through API call.
Eg. POST https://<cmx>/api/config/historydata/export?date=2018/10/11
curl -X POST -u 'user:pass' https://<cmx>/api/config/historydata/export?date=2018/10/11
Web form in apidocs page is working and the export job is triggered but from cmd line or code cmx-server gives Error 500 CMX error.
Is there some undocumented parameters which have to be in api call?
Does anyone use this large dataset export api?
Br,
Mika Niemi
Solved! Go to Solution.
03-22-2019 12:31 AM
Solved!
Finally found the right form to pass the date data in code.
post_data = '{"date":"2018/12/01"}'
03-22-2019 12:31 AM
Solved!
Finally found the right form to pass the date data in code.
post_data = '{"date":"2018/12/01"}'
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: