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>1cde5c24-6e15-482a-a121-837742caa2fa</OwnerID> <AccountID>38d01b61-1fbb-4e5d-a332-658d9b255962</AccountID> </Request>
application/json, text/json
Sample:
{
"OwnerID": "1cde5c24-6e15-482a-a121-837742caa2fa",
"AccountID": "38d01b61-1fbb-4e5d-a332-658d9b255962"
}
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>90a6fcf0-e9bd-4137-8c4e-c33b3b2352e0</RecognitionPackageId> </Result>
application/json, text/json
Sample:
{
"RecognitionPackageId": "90a6fcf0-e9bd-4137-8c4e-c33b3b2352e0"
}