POST api_v1/RecognitionPackages/CreatePackageFromDocumentPages
Создание пакета на основании страниц распознанного документа (прим. учитывается последовательность)
Request Information
Body Parameters
CreatePackageFromDocumentPagesModel| Name | Description | Type | Additional information |
|---|---|---|---|
| DocumentPageID | Collection of globally unique identifier |
None. |
|
| OwnerID | globally unique identifier |
None. |
|
| AccountID | globally unique identifier |
None. |
Request Formats
application/xml, text/xml
Sample:
<Request> <DocumentPageID>7f0c3c8a-3deb-4354-9824-5b4389c09a9c</DocumentPageID> <DocumentPageID>7f6b977e-ec13-4077-bdf5-1bfee2a851ad</DocumentPageID> <OwnerID>b5115f22-47ad-4410-a08a-3e69a4fbade2</OwnerID> <AccountID>b93b893b-2a25-4cc1-b1d0-97c918bb3974</AccountID> </Request>
application/json, text/json
Sample:
{
"DocumentPageID": [
"7f0c3c8a-3deb-4354-9824-5b4389c09a9c",
"7f6b977e-ec13-4077-bdf5-1bfee2a851ad"
],
"OwnerID": "b5115f22-47ad-4410-a08a-3e69a4fbade2",
"AccountID": "b93b893b-2a25-4cc1-b1d0-97c918bb3974"
}
Response Information
output может быть предоставлен в одном из следующих форматов:
- json – задает вывод в формате JavaScript Object Notation (JSON)
- xml – задает вывод в формате XML
Resource Description
RecognitionPackageIdDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| RecognitionPackageId | globally unique identifier |
None. |
Response Formats
application/xml, text/xml
Sample:
<Result> <RecognitionPackageId>a6fda4f4-a923-40aa-9dea-90b07f0505b2</RecognitionPackageId> </Result>
application/json, text/json
Sample:
{
"RecognitionPackageId": "a6fda4f4-a923-40aa-9dea-90b07f0505b2"
}