POST v2.0/document/{id}/attributes
Возвращает список атрибутов документа.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Идентификатор документа. |
integer |
Required |
Body Parameters
Массив наименований классификаторов.
Collection of stringRequest Formats
application/json, text/json
Sample:
[ "sample string 1", "sample string 2" ]
application/xml, text/xml
Sample:
<ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <string>sample string 1</string> <string>sample string 2</string> </ArrayOfstring>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Список атрибутов документа.
Collection of Korus.Eds.Core.KeyValueObject| Name | Description | Type | Additional information |
|---|---|---|---|
| Key | integer |
None. |
|
| Value | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"key": 1,
"value": "sample string 2"
},
{
"key": 1,
"value": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfKeyValueObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Korus.Eds.Core">
<KeyValueObject>
<Key>1</Key>
<Value>sample string 2</Value>
</KeyValueObject>
<KeyValueObject>
<Key>1</Key>
<Value>sample string 2</Value>
</KeyValueObject>
</ArrayOfKeyValueObject>