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>908b0986-e056-4984-be07-8150deade2c2</OwnerID> <AccountID>731ff255-0bb1-4a5c-a94d-7980f3ed64a7</AccountID> </Request>
application/json, text/json
Sample:
{
"OwnerID": "908b0986-e056-4984-be07-8150deade2c2",
"AccountID": "731ff255-0bb1-4a5c-a94d-7980f3ed64a7"
}
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>10b03e9a-0b05-45f4-a9f6-776b26b8394d</RecognitionPackageId> </Result>
application/json, text/json
Sample:
{
"RecognitionPackageId": "10b03e9a-0b05-45f4-a9f6-776b26b8394d"
}