Uploading File to UCM using ErpIntegrations REST API

Uploading File to UCM using ErpIntegrations REST API

Uploading File to UCM using ErpIntegrations REST API

We can use the REST API for uploading files to UCM as below:

REST API Endpoint:

https://fa-xxxxxx-saasfaprod1.fa.ocs.oraclecloud.com/fscmRestApi/resources/11.13.18.05/erpintegrations

Method:

POST

Content-Type: application/json

Payload:

  1. {
  2.   "OperationName":"uploadFileToUCM",
  3.   "DocumentContent":"VGhpcyBpcyB0ZXN0IEZpbGUgZm9yIFVDTQ==",
  4.   "DocumentAccount":"fin$/payables$/import$",
  5.   "ContentType":"txt",
  6.   "FileName":"TEST UCM Uplaod File.txt"
  7. }

The payload details are as follows:

OperationName

This should be constant value as “uploadFileToUCM”

DocumentContent

This will be base 64 encoded format of file which we want to upload to UCM.

DocumentAccount

This will be UCM account where we need to upload the file.

ContentType

This will be content type for data file which we want to upload.

FileName

This will be file name which we want to upload.

A screenshot of a computer

AI-generated content may be incorrect.

We can verify from the front end as:

A screenshot of a computer

AI-generated content may be incorrect.

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top