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>5d8086cb-562a-4f92-a42e-b4740f2e8193</OwnerID> <AccountID>abc92af4-b684-419c-8014-b320d43e2e62</AccountID> </Request>
application/json, text/json
Sample:
{
"OwnerID": "5d8086cb-562a-4f92-a42e-b4740f2e8193",
"AccountID": "abc92af4-b684-419c-8014-b320d43e2e62"
}
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>c345b8b4-c0e6-48c7-ab7f-74d6a0dca2cf</RecognitionPackageId> </Result>
application/json, text/json
Sample:
{
"RecognitionPackageId": "c345b8b4-c0e6-48c7-ab7f-74d6a0dca2cf"
}