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>550fd1c8-1ddc-4639-86d1-2880ae9b35f3</OwnerID>
  <AccountID>381332e8-7035-4793-abe9-ba94f9e15a9d</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "550fd1c8-1ddc-4639-86d1-2880ae9b35f3",
  "AccountID": "381332e8-7035-4793-abe9-ba94f9e15a9d"
}

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>4eccbd5b-d9b3-4282-bca2-aba6a4a01603</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "4eccbd5b-d9b3-4282-bca2-aba6a4a01603"
}