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>562e2c1a-a651-4e8d-93c4-10b54f8ded9f</OwnerID>
  <AccountID>7845cb98-692e-4713-a7d3-180d9f3065ed</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "562e2c1a-a651-4e8d-93c4-10b54f8ded9f",
  "AccountID": "7845cb98-692e-4713-a7d3-180d9f3065ed"
}

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>9efcb025-feeb-46fd-99b6-944b93e9b2c6</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "9efcb025-feeb-46fd-99b6-944b93e9b2c6"
}