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>1492eead-bb94-4304-9174-9a32d803b792</OwnerID>
  <AccountID>0b05a14e-2995-4091-9070-4b7fa41d9155</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "1492eead-bb94-4304-9174-9a32d803b792",
  "AccountID": "0b05a14e-2995-4091-9070-4b7fa41d9155"
}

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>5e81b62e-2797-4307-bf35-6530e7aa54d8</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "5e81b62e-2797-4307-bf35-6530e7aa54d8"
}