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>ab2aebf4-a7c4-4d97-ba72-b253f717d0ea</OwnerID>
  <AccountID>22e4056b-1e79-4b38-a834-76a6c717a28d</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "ab2aebf4-a7c4-4d97-ba72-b253f717d0ea",
  "AccountID": "22e4056b-1e79-4b38-a834-76a6c717a28d"
}

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>3f5f10ac-f585-4960-8323-1e54845513af</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "3f5f10ac-f585-4960-8323-1e54845513af"
}