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>553d3030-92fc-4dfa-be00-b9d28c0809ae</OwnerID>
  <AccountID>f30a70dd-17b6-4556-bece-602f2efff90d</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "553d3030-92fc-4dfa-be00-b9d28c0809ae",
  "AccountID": "f30a70dd-17b6-4556-bece-602f2efff90d"
}

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>8222659e-bc03-47f3-91cb-5aba4e7ae23c</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "8222659e-bc03-47f3-91cb-5aba4e7ae23c"
}