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>bf1ec169-4168-4626-a1da-e2a264e8d9eb</OwnerID> <AccountID>14df29d0-bebc-4aa8-a250-b0266291d6fb</AccountID> </Request>
application/json, text/json
Sample:
{
"OwnerID": "bf1ec169-4168-4626-a1da-e2a264e8d9eb",
"AccountID": "14df29d0-bebc-4aa8-a250-b0266291d6fb"
}
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>69e14fac-dc1c-4a12-97f1-29c3b1318f81</RecognitionPackageId> </Result>
application/json, text/json
Sample:
{
"RecognitionPackageId": "69e14fac-dc1c-4a12-97f1-29c3b1318f81"
}