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>396bd0d9-74d0-4fff-a3fb-f3abd115a550</OwnerID>
  <AccountID>68a39c42-9d32-471d-8ed1-526f19ff5b85</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "396bd0d9-74d0-4fff-a3fb-f3abd115a550",
  "AccountID": "68a39c42-9d32-471d-8ed1-526f19ff5b85"
}

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>3933b489-7a8c-46f3-b659-2bef27479880</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "3933b489-7a8c-46f3-b659-2bef27479880"
}