- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
24-07-19 10:41 PM
We are able to call the service successfully using Postman, but when using Web API feature of Blue Prism latest version 6.5 we are having following observations.
1. When using Template dropdown option in the Request, it is sending the whole data in json format instead of multi-part form data as expected by the service.
2. When using Single or Multi File option, we do not see a way to send additional attributes in the body as expected by service
3. We also wrote a custom code to send the information using multi-form, but even that ended up sending information in raw format.
Any experience on above requirement?
------------------------------
Ambrish Srivastava
Architect
Persistetnt Systems Inc
America/New_York
------------------------------
Answered! Go to Answer.
Helpful Answers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
28-07-19 11:48 PM
https://westus2.dev.cognitive.microsoft.com/docs/services/form-recognizer-api/operations/AnalyzeWithCustomModel
The Body Content of the Request was "Multiple Files" and the Collection Parameter Name was "Files"
The Request Header contained "Content-Type" and a value of "application/pdf"
The Web API action was passed a collection called "Documents" that had the following structure:
I have not tried a scenario where any additional information was needed in the Request Body.
------------------------------
Chris Hogan
Senior Ecosystem Architect
Blue Prism
America/Chicago
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
28-07-19 11:48 PM
https://westus2.dev.cognitive.microsoft.com/docs/services/form-recognizer-api/operations/AnalyzeWithCustomModel
The Body Content of the Request was "Multiple Files" and the Collection Parameter Name was "Files"
The Request Header contained "Content-Type" and a value of "application/pdf"
The Web API action was passed a collection called "Documents" that had the following structure:
I have not tried a scenario where any additional information was needed in the Request Body.
------------------------------
Chris Hogan
Senior Ecosystem Architect
Blue Prism
America/Chicago
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-08-19 07:59 AM
If this issue is still open, i have got Multi Part form data working using templates. refer the attached image.,
------------------------------
Bimal Sebastian
Consultant
Blueprism
Asia/Kolkata
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-08-19 12:44 PM
------------------------------
Ambrish Srivastava
Architect
Persistetnt Systems Inc
America/New_York
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
30-09-19 08:28 AM
Do we have to split the input file into multiple parts?
------------------------------
Shashank Kumar
DX Integrations Partner Consultant
Blue Prism
Singapore
+6581326707
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-10-19 07:24 AM
You dont need to split the file into multiple parts. Multi Part form data is one way to send information using http. In this mode you can send a file and additional information along with the files binary data, hence the term Multi Part.
If you only have a file to send and no additional meta data, then you can chose existing file or multiple file api type in blue prism, provided the api you are consuming supports it.
If the API you consume requires multi-part form data, then you will need to try the above method.
------------------------------
Bimal Sebastian
Consultant
Blueprism
Asia/Kolkata
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
13-04-20 08:29 PM
What does the [boundary] stand for?
------------------------------
Bryan Jay
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
14-04-20 07:53 AM
In http, a multi part form data is characterized by using a boundary value to separate each form set.
Here [boundary] is a parameter that can be customized and added to the body.
There is no harm, if you chose to not customize it. You can tweak the template and hard code any text value in place of boundary.
Thanks
Bimal
------------------------------
Bimal Sebastian
Consultant
Blueprism
Asia/Kolkata
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-05-20 09:03 AM
I know this thread is a little old now but I have come across this and wonder if you could help.
I'm trying to get data into the "Documents" collection, but seem unable to. I have my 2 files which I need to send via API in a collection.
But seem unable to get them from that to a collection with a binary value.
How did you get the documents into a collection with a binary value?
Matthew
------------------------------
Matthew Ross
Principal Innovation Developer & Analyst
NHBC
Europe/London
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
14-05-20 09:32 AM
------------------------------
Matthew Ross
Principal Innovation Developer & Analyst
NHBC
Europe/London
------------------------------
