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>f0bdb810-de1c-4c79-8ac7-3f73f01c402c</OwnerID>
  <AccountID>6cc7b729-b062-4919-9883-789cb7bd78d3</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "f0bdb810-de1c-4c79-8ac7-3f73f01c402c",
  "AccountID": "6cc7b729-b062-4919-9883-789cb7bd78d3"
}

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>09ce4c2c-a426-4243-93ea-15e2038c2d91</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "09ce4c2c-a426-4243-93ea-15e2038c2d91"
}