Hi Phil, I cannot get the REST API to accept the payload:
JSON Payload: {“identifier”: 1576, “ProcessInformations”: {“OriginalFilename”: “testingData”}}
operation ID = None
Also tried it with just {“identifier”: 1576} with the same unhappy result.
I really need to get the original file name into the datamapper for the post processor to correctly name a csv file without using Workflow.
Please advise.
Many Thanks,
Tim
Crisis over - round and round the houses for hours to finally discover Content-Type was still set to “application/octet-stream”.
Facepalm.
Phil
December 6, 2022, 5:53pm
3
Which REST endpoint are you calling?
No need to answer that one if you’ve resolved your issue.
Hi Phil,
looks like the correct one:
rest/serverengine/workflow/datamining/getProgress/{operation_id}
It’s the only json content-type in the bunch, and I’d not set the header correctly.
T