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>45cf6b30-5c17-45a0-bcc0-6cb8ce0ca3e7</OwnerID>
  <AccountID>4f766fcb-7718-405f-8e3b-b6693f02818e</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "45cf6b30-5c17-45a0-bcc0-6cb8ce0ca3e7",
  "AccountID": "4f766fcb-7718-405f-8e3b-b6693f02818e"
}

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>21bc02ff-f100-40ad-a6a6-4e6817c3a34d</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "21bc02ff-f100-40ad-a6a6-4e6817c3a34d"
}