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>cb8b5321-0dbe-4007-bc0f-7a9a74a6667d</OwnerID>
  <AccountID>e2dd4130-8645-4fff-b0ea-db9939742ca0</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "cb8b5321-0dbe-4007-bc0f-7a9a74a6667d",
  "AccountID": "e2dd4130-8645-4fff-b0ea-db9939742ca0"
}

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>eb702968-6de9-4834-8923-fe6150c1ce05</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "eb702968-6de9-4834-8923-fe6150c1ce05"
}