web
You’re offline. This is a read only version of the page.
close


Posted Wed, 11 Mar 2026 20:13:42 GMT by Nate Howland Technical Sales Analyst

I'm looking for a way to control the field formatting in the web workflow designer web service task. I have an API that expects to receive the document and related fields to be formatted using the multipart form-data standard (https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Methods/POST#multipart_form_submission).

For example, if I create an API POST call in Postman using the form-data type with key/values in the body, it automatically builds out a cURL statement like this:

curl --location 'api endpoint' \
 --form 'Field1="Test1"' \
 --form 'Field2="Test2"' \
 --form 'file=@"Test.pdf"'

This is the correct format for what my API requires.

I've found, though, the DW web service task is still using the form-data POST type, but packaging all fields up as a JSON string in a single field called "requestData". Something like this in cURL:

curl --location 'api endpoint' \
 --form 'requestData="{ "Field1": "Test1", "Field2": "Test2" }"' \
 --form 'file=@"Test.pdf"'

Is there any way to control and/or modify the web service task output so it matches the first style?

Thanks!

Posted Thu, 19 Mar 2026 00:00:11 GMT by Matthias Wieland Senior Director Support EMEA
Dear Nate Howland! It looks like the Community cannot answer your question. That's why we have opened a Support Request with the Number SR-284656-S2Q8K for you. A Software Support Specialist will contact you directly to follow up. We will update this thread with the solution as soon as we have resolved the Support Request. With best regards, DocuWare Support Team
Posted Thu, 19 Mar 2026 13:45:25 GMT by Nate Howland Technical Sales Analyst
Support reached out to me to discuss this. There is currently no way to alter the field data payload structure that is sent. It was suggested to add in a downstream transformation using a 3rd party tool to change the payload structure.

You must be signed in to post in this forum.