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>a1ed3198-b0cb-48ef-a865-da1878d4f3f8</OwnerID> <AccountID>ae4353cc-d282-4870-8b28-cf0fa9aa72c3</AccountID> </Request>
application/json, text/json
Sample:
{
"OwnerID": "a1ed3198-b0cb-48ef-a865-da1878d4f3f8",
"AccountID": "ae4353cc-d282-4870-8b28-cf0fa9aa72c3"
}
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>c77350df-6373-4ad0-8f74-8f7e02f91813</RecognitionPackageId> </Result>
application/json, text/json
Sample:
{
"RecognitionPackageId": "c77350df-6373-4ad0-8f74-8f7e02f91813"
}