ODBC Driver for Box

Build 25.0.9434

AddMetadataTemplatestoFile

Applies a predefined metadata template to a file, creating a structured set of metadata fields for that file.

Input

Name Type Description
FileId String Unique identifier of the file to which the metadata template is applied.
TemplateKey String The key name of the metadata template that defines the fields to be applied.
Scope String The scope of the metadata template, such as enterprise or global.
TemplateValues String Optional field that specifies the values for the metadata template. Values must be separated by a semicolon(for example, 'DepartmentName=TestDepartment; DepartmentId=101'.)
AsUserId String Identifier of the user to impersonate for API requests, available only for Admin, Co-Admin, and Service Accounts.

Result Set Columns

Name Type Description
Success Bool Indicates whether the metadata template was successfully added to the file.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434