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>4d8aa880-97d2-4229-9520-58bfa352ac5d</OwnerID>
  <AccountID>da9cd1fe-dc24-4d70-8f9d-9baff59ead97</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "4d8aa880-97d2-4229-9520-58bfa352ac5d",
  "AccountID": "da9cd1fe-dc24-4d70-8f9d-9baff59ead97"
}

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>96acd9c4-0dfc-4a07-ac6e-38f2164b280e</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "96acd9c4-0dfc-4a07-ac6e-38f2164b280e"
}