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>24358a40-060c-460c-94c9-f9773135e629</OwnerID>
  <AccountID>ee582373-847a-4b90-ac10-7818144b0820</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "24358a40-060c-460c-94c9-f9773135e629",
  "AccountID": "ee582373-847a-4b90-ac10-7818144b0820"
}

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>4cdce693-c71c-43cf-86c8-2d4e21b0aec0</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "4cdce693-c71c-43cf-86c8-2d4e21b0aec0"
}