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>06583469-6f6d-471c-ad4d-a37f61bcea5a</OwnerID>
  <AccountID>a07b9a1b-88e5-4a42-a4e1-2c13750a1178</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "06583469-6f6d-471c-ad4d-a37f61bcea5a",
  "AccountID": "a07b9a1b-88e5-4a42-a4e1-2c13750a1178"
}

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>361ab8a6-3174-4d7b-a740-0dc19952b7ee</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "361ab8a6-3174-4d7b-a740-0dc19952b7ee"
}