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>1b0b4fd2-ff58-4cd4-896b-c304a5751575</OwnerID> <AccountID>927e564f-f891-4df3-89fc-c1e1a8860cfa</AccountID> </Request>
application/json, text/json
Sample:
{
"OwnerID": "1b0b4fd2-ff58-4cd4-896b-c304a5751575",
"AccountID": "927e564f-f891-4df3-89fc-c1e1a8860cfa"
}
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>57d80531-fea1-4a46-ba93-4cd1dcc4c461</RecognitionPackageId> </Result>
application/json, text/json
Sample:
{
"RecognitionPackageId": "57d80531-fea1-4a46-ba93-4cd1dcc4c461"
}