Create Merge File Job
Merge data from the first sheet of multiple file manager files, then generate a new file with all source data on a single sheet.
Preferred field (new): mappings — a list of objects, each with a fileManagerFileId and a columns array that defines how its columns map into the merged output positions.
Example (mappings):
{
"mappings": [
{"fileManagerFileId": "1234567890abcdef12345678", "columns": [0, 1, 2, 3, 4]},
{"fileManagerFileId": "2345678901bcdefa23456789", "columns": [1, 0, 2, 4, 3]}
]
}
Deprecated (legacy) field: fileColumnMappings — a map from fileManagerFileId to its columns array. It is still accepted for backward compatibility but will be removed in a future version.
Example (fileColumnMappings):
{
"fileColumnMappings": {
"1234567890abcdef12345678": [0, 1, 2, 3, 4],
"2345678901bcdefa23456789": [1, 0, 2, 4, 3]
}
}
The first mapping entry (in either format) is the master/template file and its columns array defines the output column positions. Columns are numbered from left to right, with the leftmost in a file being position 0. Each subsequent entry defines, for each output column, which column index to use from that file, allowing flexible mapping and positioning in the merged result.
Permissions
api.file-manager.write
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Identifies the associated engagement.
The name of the file being generated in the requested merge operation.
1Identifies the parent directory. If NULL, the directory is positioned at the root level.
Deprecated: use mappings instead. Reference to the files and the columns to include in the merge operation.
Ordered list of file/column selections to merge (each entry has fileManagerFileId and its column indexes).
Response
Created
The unique object identifier.
Indicates the data integrity version to ensure data consistency.
The date that the object was originally created.
The date that the object was last updated or modified.
Details about the user who created the object.
Details about the user who last modified or updated the object.
Indicates the type of job being run.
ANALYSIS_RUN, ANALYSIS_SOURCE_INGESTION, ADMIN_REPORT, DATA_TABLE_EXPORT, ANALYSIS_ROLL_FORWARD, GDPDU_UNPACK_JOB, ACCOUNT_GROUPING_EXPORT, ACCOUNT_MAPPING_EXPORT, DATA_TRANSFORMATION_JOB, CONNECTION_TEST, CONNECTION_TABLES, DATA_TABLE Indicates the current state of the job.
IN_PROGRESS, COMPLETE, ERROR Identifies the entity used in the job.
Identifies the entity type used in the job.
ORGANIZATION, ENGAGEMENT, ANALYSIS, ANALYSIS_RESULT, ANALYSIS_SOURCE, FILE_RESULT, GDPDU_UNPACK_JOB, ACCOUNT_GROUPING, ENGAGEMENT_ACCOUNT_GROUPING, FILE_MANAGER_FILE, CONNECTION_TEST_RESULT, CONNECTION_TABLES_RESULT, DATA_TABLE The reason why the async job failed.

