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>e119eb51-6fc8-4c5d-b6f7-9c24389dfbb3</OwnerID>
  <AccountID>21a991b0-f123-457b-b5e0-1e19ee1c1fa1</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "e119eb51-6fc8-4c5d-b6f7-9c24389dfbb3",
  "AccountID": "21a991b0-f123-457b-b5e0-1e19ee1c1fa1"
}

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>a8907d9d-a09a-4ffe-9723-fc59a4429b89</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "a8907d9d-a09a-4ffe-9723-fc59a4429b89"
}