You are viewing limited content. For full access, please sign in.

Question

Question

Base 64 Encoding via Laserfiche API

asked on July 19

Dears,

I have created a request for a client for uploading a document into laserfiche cloud using POST https://api.eu.laserfiche.com/repository/v2/Repositories/%(RepoID)/Entries/%(FolderID)/Folder/Import

The request body is as below

{

"name": "DocumentName",

"autoRename": true,

"pdfOptions": {

"generateText": true,

"generatePages": true,

"generatePagesImageType": "StandardColor",

"keepPdfAfterImport": true

},

"importAsElectronicDocument": false,

"metadata": {

"templateName": "Employee Document",

"fields": [

{

"name": "Employee Name",

"values": [

"User One"

]

},

{

"name": "Employee ID",

"values": [

"123456"

]

}

]

}

}

The purpose for this API request among others is for it to be integrated with a Low-Code, No-Code system (Maestro) which should at te end of a process send documents to Laserfiche. THe request works well when I test it with Postman. They have a request where they would want to Encode the Binary data to Base64 because that's how their file is transmitted to laserfiche. 

Anyone that can assist?

Regards,

Mark

0 0

Replies

replied on July 19

I'm not familiar with Maestro. I did a quick search and looks like they support [WARNING external link content not checked or endorsed by Laserfiche multipart/form ].

Related guides:

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.