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>db6c0c07-624e-4fd7-a84f-ee4d6d8e85c9</OwnerID>
  <AccountID>5a27bed0-95bc-4e93-8427-5dbb8895f0e1</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "db6c0c07-624e-4fd7-a84f-ee4d6d8e85c9",
  "AccountID": "5a27bed0-95bc-4e93-8427-5dbb8895f0e1"
}

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>79e4abc8-8bbb-4d7e-92a1-09ab786bc1e6</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "79e4abc8-8bbb-4d7e-92a1-09ab786bc1e6"
}