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>3682f81b-ac3d-452d-8d08-93793099330d</OwnerID>
  <AccountID>e7335bb1-891a-45de-bd70-1a35f159a45a</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "3682f81b-ac3d-452d-8d08-93793099330d",
  "AccountID": "e7335bb1-891a-45de-bd70-1a35f159a45a"
}

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>2780e16f-5dad-48ae-aaff-dc1e365b9834</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "2780e16f-5dad-48ae-aaff-dc1e365b9834"
}