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>0450c5ca-155e-4e2e-b4d1-7157360b79f7</OwnerID>
  <AccountID>3782e8a2-7edd-43a9-8660-af6fc1622f91</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "0450c5ca-155e-4e2e-b4d1-7157360b79f7",
  "AccountID": "3782e8a2-7edd-43a9-8660-af6fc1622f91"
}

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>8c423453-9d17-4fad-9cdf-a56c1d0b1c9d</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "8c423453-9d17-4fad-9cdf-a56c1d0b1c9d"
}