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>617b06f8-de90-485a-804f-3a088ce65315</OwnerID>
  <AccountID>7ec84b9b-2db1-4206-9ff5-0d07cabef1d3</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "617b06f8-de90-485a-804f-3a088ce65315",
  "AccountID": "7ec84b9b-2db1-4206-9ff5-0d07cabef1d3"
}

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>511dcf91-116d-42b5-af17-ce742b97ff48</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "511dcf91-116d-42b5-af17-ce742b97ff48"
}