POST api_v1/RecognitionPackages/CreatePackage
Создать новый пакет
Request Information
Body Parameters
CreatePackageModel| Name | Description | Type | Additional information |
|---|---|---|---|
| OwnerID | globally unique identifier |
None. |
|
| AccountID | globally unique identifier |
None. |
Request Formats
application/xml, text/xml
Sample:
<Request> <OwnerID>139ae036-26ee-4e43-b599-1e1b983f3d2a</OwnerID> <AccountID>41be8d30-1136-4f5d-8474-b920dec1ceaa</AccountID> </Request>
application/json, text/json
Sample:
{
"OwnerID": "139ae036-26ee-4e43-b599-1e1b983f3d2a",
"AccountID": "41be8d30-1136-4f5d-8474-b920dec1ceaa"
}
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>cb7f93f2-99cc-464b-92d0-63cc2d4e1bae</RecognitionPackageId> </Result>
application/json, text/json
Sample:
{
"RecognitionPackageId": "cb7f93f2-99cc-464b-92d0-63cc2d4e1bae"
}