POST api_v1/RecognitionPackages/CreatePackage

Создать новый пакет

Request Information

Body Parameters

CreatePackageModel
NameDescriptionTypeAdditional information
OwnerID

globally unique identifier

None.

AccountID

globally unique identifier

None.

Request Formats

application/xml, text/xml

Sample:
<Request>
  <OwnerID>bec7f5ac-0ce4-40b7-b050-4cc368de220f</OwnerID>
  <AccountID>604441ea-f630-4ffa-8567-0c1d11c8201d</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "bec7f5ac-0ce4-40b7-b050-4cc368de220f",
  "AccountID": "604441ea-f630-4ffa-8567-0c1d11c8201d"
}

Response Information

output может быть предоставлен в одном из следующих форматов:

  • json – задает вывод в формате JavaScript Object Notation (JSON)
  • xml – задает вывод в формате XML

Resource Description

RecognitionPackageIdDTO
NameDescriptionTypeAdditional information
RecognitionPackageId

globally unique identifier

None.

Response Formats

application/xml, text/xml

Sample:
<Result>
  <RecognitionPackageId>2e99a3f4-ca48-4a34-bb36-383aaf5a9862</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "2e99a3f4-ca48-4a34-bb36-383aaf5a9862"
}