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>9c887775-95a4-4f0e-8f8f-edd9a37ea37d</OwnerID> <AccountID>8a1501de-e38e-4c53-a0e2-11f60bba6ce4</AccountID> </Request>
application/json, text/json
Sample:
{
"OwnerID": "9c887775-95a4-4f0e-8f8f-edd9a37ea37d",
"AccountID": "8a1501de-e38e-4c53-a0e2-11f60bba6ce4"
}
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>38d0d771-1cba-4e6b-96a3-a87b4b8efebc</RecognitionPackageId> </Result>
application/json, text/json
Sample:
{
"RecognitionPackageId": "38d0d771-1cba-4e6b-96a3-a87b4b8efebc"
}