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>5fef5ed9-01ed-4b55-bdb8-4f69c531ffb2</OwnerID>
  <AccountID>68d965e1-b87f-4e39-b773-c3b220ac7c45</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "5fef5ed9-01ed-4b55-bdb8-4f69c531ffb2",
  "AccountID": "68d965e1-b87f-4e39-b773-c3b220ac7c45"
}

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>d26fa420-cccf-408b-bd89-e6c11a7a7f16</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "d26fa420-cccf-408b-bd89-e6c11a7a7f16"
}