AddMetadataTemplatestoFile
Applies an instance of a metadata template to a file.
Input
| Name | Type | Description |
| FileId | String | The unique identifier that represent a file. |
| TemplateKey | String | The name of the metadata template |
| Scope | String | The scope of the metadata template |
| TemplateValues | String | Optional: The values for the metadata template. The column values should be semi-colon separated. For Example 'DepartmentName=TestDeparment;DepartmentId=101' |
| AsUserId | String | The Id of the user you want to impersonate. Only works with Admin, Co-Admin and Service Accounts. |
Result Set Columns
| Name | Type | Description |
| Success | Bool | Whether or not the metdata was successfully added to file. |