Trying to apply metadata to file ,i created a template from the admin console with one metadata field
name of the metadata is test name of field is "recorddateclosed" type text.
request :
{Method: POST, RequestUri: 'https://api.box.com/2.0/files/1152853018167/metadata/enterprise/test', Version: 1.1, Content: System.Net.Http.StringContent, Headers:
{
Authorization: Bearer TaOblEVIgjXXXXXXDu5hw1s4XXXXXjkZ
Content-Type: application/json; charset=utf-8
}}
metadata :
{[recorddateclosed, { Value = 01-01-0001 00:00:0 }]}
scope:"enterprise"
template :"test"
request Id : Result: "{\"message\":\"Request contains invalid parameters.\",\"code\":\"Bad Request\",\"request_id\":\"4dhgkshbkdpueiv0\"}"


