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>e334e68b-e76a-4fc6-85b9-7a730f84c2ee</OwnerID>
  <AccountID>74d823b8-78b7-479d-b4e1-f1ae8ae9f9c9</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "e334e68b-e76a-4fc6-85b9-7a730f84c2ee",
  "AccountID": "74d823b8-78b7-479d-b4e1-f1ae8ae9f9c9"
}

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>4684bcb0-d079-45b2-8f4a-e53d9f0fdf9f</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "4684bcb0-d079-45b2-8f4a-e53d9f0fdf9f"
}