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>1365cf37-1338-4012-864c-96972629c064</OwnerID> <AccountID>b0474bcd-508f-48cb-92b6-26d4e2928a80</AccountID> </Request>
application/json, text/json
Sample:
{
"OwnerID": "1365cf37-1338-4012-864c-96972629c064",
"AccountID": "b0474bcd-508f-48cb-92b6-26d4e2928a80"
}
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>5140a296-38a3-49f7-a714-0fe27e4d6389</RecognitionPackageId> </Result>
application/json, text/json
Sample:
{
"RecognitionPackageId": "5140a296-38a3-49f7-a714-0fe27e4d6389"
}