Sets the value of a workgroup field on a file.
Name | Description | Default |
---|---|---|
id
|
Unique file ID. | |
field
|
Field ID or name. |
Content Type:
application/xml
or
application/json
One or more values to store in the field.
XML JSON |
---|
<Request> <Value>object</Value> <!--For single-value fields--> <Values> <!--Array of 'Item'--> <Item>object</Item> <!--For multi-value fields--> </Values> </Request> |
{ "Value": "object", // For single-value fields "Values": [ "object" ] // For multi-value fields } |
Content Type:
application/xml
or
application/json
Success status or an error message.
XML JSON |
---|
<Response> <Result>string</Result> <!--Always 'Success'--> <Message>string</Message> <!--Error message--> </Response> |
{ "Result": "string", // Always 'Success' "Message": "string" // Error message } |
Code | Condition |
---|---|
200 OK | The operation completed successfully. |
400 Bad Request | Invalid field or file ID. |
401 Unauthorized | Access token is invalid, expired or not specified. |
403 Forbidden | The user does not have permission to modify the matter. |
404 Not Found | File or field not found. |
406 Not Acceptable | Content type specified in the Accept header isn't supported. |
500 Internal Server Error | An internal error occurred. |