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>deb8f271-93e1-485f-a48c-e6b81d4ac794</OwnerID>
  <AccountID>b3bfb6c7-ef76-48f3-b826-2935ca16bb8a</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "deb8f271-93e1-485f-a48c-e6b81d4ac794",
  "AccountID": "b3bfb6c7-ef76-48f3-b826-2935ca16bb8a"
}

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>f464740a-f8d1-40c3-a336-faf2d3be3428</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "f464740a-f8d1-40c3-a336-faf2d3be3428"
}