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>3eba4dc3-c80a-4208-be57-e3d62de2083d</OwnerID>
  <AccountID>45c57a40-4675-48e1-b1a3-999c9ae8e6d0</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "3eba4dc3-c80a-4208-be57-e3d62de2083d",
  "AccountID": "45c57a40-4675-48e1-b1a3-999c9ae8e6d0"
}

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>215705f0-f28c-4da7-b44f-49c56bb58a3e</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "215705f0-f28c-4da7-b44f-49c56bb58a3e"
}