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>df670087-60d6-4ec5-a7a9-1090fc6cf104</OwnerID>
  <AccountID>30e40052-5dd4-4dea-97a8-8b225f6ed785</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "df670087-60d6-4ec5-a7a9-1090fc6cf104",
  "AccountID": "30e40052-5dd4-4dea-97a8-8b225f6ed785"
}

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>dc70bfd4-a184-4458-bc19-9a722e77fa13</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "dc70bfd4-a184-4458-bc19-9a722e77fa13"
}