External File Ingestion REST APIs

Administrators can upload files for external file ingestion by using REST APIs. These APIs import files from a specified local file system path into the Siebel File System staging location used by OpenSearch indexing.

Use these APIs only with approved source locations and validated content.

The following REST APIs can be used to upload files from a local file system for external file ingestion.

API Name Endpoint Request Body Response
UploadFile https://<hostname>:<port>/siebel/v1.0/service/Open Search Adapter Service/UploadFile
{
  "body":
  {
 "InputFilePath": "<Input FilePath>”
   }
}
{
    "Response": "OK"
}
UploadFile https://<hostname>:<port>/siebel/v1.0/service/SiebelModernSearchJBS/UploadFile
{
  "body":
  {
 "InputFilePath": "<Input FilePath>",
"OutputFilePath": "<Output FilePath>"
 }
}
 
{
    "Response": "OK"
}