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>25534559-b962-4965-94c4-eaedff4e57af</OwnerID>
  <AccountID>5fd65723-ae51-4bf8-b877-85984f65f1f9</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "25534559-b962-4965-94c4-eaedff4e57af",
  "AccountID": "5fd65723-ae51-4bf8-b877-85984f65f1f9"
}

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>f4fa5a77-f9af-47e8-8150-3e4cf700364a</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "f4fa5a77-f9af-47e8-8150-3e4cf700364a"
}