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>c7ad5541-1e05-4583-b63b-4105ee3616cc</OwnerID>
  <AccountID>bfe8c021-bc34-4a6b-b9b2-969ececfb3a7</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "c7ad5541-1e05-4583-b63b-4105ee3616cc",
  "AccountID": "bfe8c021-bc34-4a6b-b9b2-969ececfb3a7"
}

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>71b6278d-e4b4-4637-b05c-a1610adf5356</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "71b6278d-e4b4-4637-b05c-a1610adf5356"
}