cancel
Showing results for 
Search instead for 
Did you mean: 

Upload <binary-part-content>

Krishna_Eyyuni1
Champ in-the-making
Champ in-the-making

Is there a way where a whole document as a pdf or a txt can be uploaded without uploading the bytes to the staging area?

 

5 REPLIES 5

Phillip_Jones
Champ on-the-rise
Champ on-the-rise

What is the issue you're running into? Are they large enough to need multi-part uploads? What are you using to connect to the API? 

Issue is that we need to make multiple calls each time to get a uploadid/guid for the keywordguid, instead I am trying to see if we can do a single upload call where we provide the file location and upload directly instead of creating a staging area and then uploading bytes and then passing the id of staging area to post upload call.

Ryan_Wakefield
World-Class Innovator
World-Class Innovator

The bytes to upload is determined by the API server. It will basically tell you how large of a binary-part-content to upload and how many of those items you need to upload. The upload to the staging area is a required step and part of the overall setup to make sure that in case errors happen and such, that things aren't lost and more. So the Staging Area is required.

Is there a separate logging file set up for REST API's if there is any failure? that comes with Hyland API itself? Any changes to be made on the config file to capture those?