Run the recipe from an external application to create a folder.
In the Integrations section of the project workspace, click Actions on the Oracle REST Content Management Create Folder integration flow, then select Run.
On the Configure and run page, click
Endpoint metadata.
In the panel that opens, copy the
Endpoint URL value. This is the integration
flow's endpoint URL.
From the external application, send a GET request to the endpoint URL along with parameters such as folderName, parentId, and description. See Before You Install the Recipe.
The recipe creates a folder in the parent folder in Oracle Content Management.
Run the recipe from an external application to import a file into the parent folder.
In the Integrations section of the project workspace, click Actions on the Oracle REST Content Management Upload File integration flow, then select Run.
On the Configure and run page, click
Endpoint metadata.
In the panel that opens, copy the
Endpoint URL value. This is the integration
flow's endpoint URL.
From the external application, send a POST request to this endpoint URL along with the file details. Provide the text in the POST request’s Body field.
Example request payload:
{
"contentype": "application/json",
"filename": "<File name; For instance: Test.txt>",
"FolderId": "<Parent ID from the earlier response>",
"FileContent": "<Enter file content in Base64 decode format>"
}
The recipe creates the file with the file name and content you pass in the request body.
Monitor the running of the
integration flow in Oracle Integration. See Monitor Integrations.
Log in to the Oracle Content Management and check for the new file and folder.