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>125ec4c5-a5b5-4601-9198-6eb552ca1edb</OwnerID> <AccountID>c0e58b46-34f5-4456-b9cd-a303c269bb0c</AccountID> </Request>
application/json, text/json
Sample:
{
"OwnerID": "125ec4c5-a5b5-4601-9198-6eb552ca1edb",
"AccountID": "c0e58b46-34f5-4456-b9cd-a303c269bb0c"
}
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>3dc78bff-140d-46da-a4fa-dbc9ff8a2370</RecognitionPackageId> </Result>
application/json, text/json
Sample:
{
"RecognitionPackageId": "3dc78bff-140d-46da-a4fa-dbc9ff8a2370"
}