Boomi MFT - File Sharing API Reference (1.16) - Upload
Download OpenAPI Specification: Download
The Upload REST Web Services provide endpoints for managing the file upload workflow through metadata marking and retrieval. These services enable clients to tag files during upload operations, associate custom metadata with upload sessions, and retrieve uploaded file information after completion.
The marking mechanism allows for tracking multiple files uploaded as part of a single operation, while the cleanup functionality ensures metadata is properly managed throughout the upload lifecycle. This service is particularly useful for implementing upload widgets, batch file operations, and integration with external applications that require tracking of uploaded content with custom metadata.
Create Mark GUID
Mark uploaded files or folders during session by unique identifier and return it.
Create and store unique GUID to apply automatically to all files and folders uploaded under SessionID after the web service is called (marking). Call returns unique GUID used to mark all uploaded files in one upload transaction using the API upload dialog tool. Marking of uploaded files will stop when the last file in the batch is uploaded by API upload dialog tool.
Files marked by the GUID can be retrieved by the call RetrieveUploadInfoCleanUp.
Authorizations:
Responses
Response Schema: application/json
| MarkForRetrieval required | string <uuid> Unique identifier (GUID) associated with the marked upload batch. |
Response samples
- 200
{- "MarkForRetrieval": "898fa874-1fca-4381-a7c7-edeec48036db"
}Store metadata
Store metadata to apply automatically to all files and folders uploaded under the current user session after the method is called. Metadata will be cleared when session is deleted, expires or by call the MetadataClear method.
Example request:
metadataobjects[0].Key=key1&metadataobjects[0].Value=value1&metadataobjects[1].Key=key2&metadataobjects[1].Value=value2
Authorizations:
Request Body schema: application/x-www-form-urlencodedrequired
Request body — Request type: MetadataKeyValueCollection — Schema: ThruPublicFileInfo structure contains information about file in MFT FS file system.
Array of objects (MetadataKeyValue) Array of metadata key-value information. | |||||
Array
| |||||
Responses
Response Schema: application/json
| MetadataID | string ID of a metadata item. |
| Name | string Name of the metadata item. |
| DataType | integer Metadata type. Only 3 (arrays of strings) are supported. |
| Data | Array of strings Metadata value represented as an array of one or more strings. |
Request samples
- Payload
metadataobjects[0].Key=key1&metadataobjects[0].Value=value1&metadataobjects[1].Key=key2&metadataobjects[1].Value=value2
Response samples
- 200
{- "MetadataID": "11XIJDBFMXPEO",
- "Name": "DocumentType",
- "DataType": 3,
- "Data": [
- "Accounting"
]
}Retrieve upload info cleanup by uploaded metadata value
The call returns an array of file metadata structures for each uploaded, see ThruPublicUploadInfo structure description for details. Parameter uploadedMetadataValue can be set to GUID returned by MarkGuid call or other metadata set by MetadataStore call to retrieve files marked by the metadata. The call method removes marker metadata from the system (TBL_FILE_METADATA table).
Invocation scenario
Return an array of file metadata structures for each uploaded file and folder, and remove marker metadata from the file system.
Authorizations:
Responses
Response Schema: application/json
required | Array of objects (PublicFileUploadInfo) List of uploaded file information objects. | ||||||
Array
| |||||||
Response samples
- 200
{- "Files": [
- {
- "FileData": {
- "FileID": "3P572PVKX3ROQ",
- "ParentFolderID": "0V768UDFE6WPP",
- "Name": "boomi-382C12AAF1.zip",
- "Size": 574,
- "EffectivePermission": 254,
- "DateCreated": "2025-10-21T10:31:48.793",
- "DateModified": "2025-10-21T10:31:48.793",
- "CreatedByUserID": "39RLXBHYVYGYB",
- "ModifiedByUserID": "39RLXBHYVYGYB",
- "Version": 1,
- "IsDeleted": false,
- "IsQuarantined": false,
- "IsPublished": false
}, - "AccessId": "3P84C7DRWIX05",
- "BaseFileId": "2SPOQZBZI60WJ"
}
]
}