POST v2.0/package
Метод для объединения существующих документов в пакет.
Request Information
URI Parameters
None.
Body Parameters
Модель редактирования пакета документов.
Korus.Eds.Api.DocumentPackage| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| SendSync | boolean |
None. |
|
| Documents | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"name": "sample string 1",
"sendSync": true,
"documents": [
1,
2
]
}
application/xml, text/xml
Sample:
<DocumentPackage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Korus.Eds.Api">
<Documents xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:long>1</d2p1:long>
<d2p1:long>2</d2p1:long>
</Documents>
<Name>sample string 1</Name>
<SendSync>true</SendSync>
</DocumentPackage>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Идентификатор пакета.
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<long xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</long>