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>4aa0e418-3fbc-4715-b029-a5c32f36d582</OwnerID>
  <AccountID>11de0b69-a384-4b9b-817f-7d421e4f2025</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "4aa0e418-3fbc-4715-b029-a5c32f36d582",
  "AccountID": "11de0b69-a384-4b9b-817f-7d421e4f2025"
}

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>11eb54ed-52f9-49d3-83f9-4a19e1a1f16c</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "11eb54ed-52f9-49d3-83f9-4a19e1a1f16c"
}