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>ba86a069-363d-4e54-b62f-3cca0225873a</OwnerID>
  <AccountID>2b8767a0-3b1d-40e7-8dc9-5f100ad82844</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "ba86a069-363d-4e54-b62f-3cca0225873a",
  "AccountID": "2b8767a0-3b1d-40e7-8dc9-5f100ad82844"
}

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>90278a0d-1e78-4df6-85ae-1e9bd2c58159</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "90278a0d-1e78-4df6-85ae-1e9bd2c58159"
}