PUT v2.0/document/{id}/property
Добавляет дополнительные свойства документа.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Идентификатор документа. |
integer |
Required |
Body Parameters
Список дополнительных свойств.
Collection of Korus.Eds.Api.StringKeyValueName | Description | Type | Additional information |
---|---|---|---|
Key | string |
None. |
|
Value | string |
None. |
Request Formats
application/json, text/json
Sample:
[ { "key": "sample string 1", "value": "sample string 2" }, { "key": "sample string 1", "value": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfStringKeyValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Korus.Eds.Api"> <StringKeyValue> <Key>sample string 1</Key> <Value>sample string 2</Value> </StringKeyValue> <StringKeyValue> <Key>sample string 1</Key> <Value>sample string 2</Value> </StringKeyValue> </ArrayOfStringKeyValue>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HTTP код 201 в случае если свойства добавлены успешно.
None.