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>d79b68d7-0021-4c1f-9f7e-95d7cc8358d5</OwnerID> <AccountID>ea4de87f-03aa-4ed9-b6cc-1b2528d2fecd</AccountID> </Request>
application/json, text/json
Sample:
{
"OwnerID": "d79b68d7-0021-4c1f-9f7e-95d7cc8358d5",
"AccountID": "ea4de87f-03aa-4ed9-b6cc-1b2528d2fecd"
}
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>0f5e9d99-1337-4a23-b19e-51c07b0f0ede</RecognitionPackageId> </Result>
application/json, text/json
Sample:
{
"RecognitionPackageId": "0f5e9d99-1337-4a23-b19e-51c07b0f0ede"
}