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>d9e19335-0d1d-447b-8142-e32ec11881f8</OwnerID>
  <AccountID>f3ff9ed1-d294-4f53-8b5d-e080166b63e4</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "d9e19335-0d1d-447b-8142-e32ec11881f8",
  "AccountID": "f3ff9ed1-d294-4f53-8b5d-e080166b63e4"
}

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>ee23f675-5bb4-4f54-9a99-7931b2bb5c5d</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "ee23f675-5bb4-4f54-9a99-7931b2bb5c5d"
}