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>cc944e86-7d91-4773-a3cd-81a0eea3afac</OwnerID>
  <AccountID>1c5c9ba8-8392-4f02-a692-071652334aa3</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "cc944e86-7d91-4773-a3cd-81a0eea3afac",
  "AccountID": "1c5c9ba8-8392-4f02-a692-071652334aa3"
}

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>26df4baf-b987-4c3f-8d34-eaf2bcb32c2f</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "26df4baf-b987-4c3f-8d34-eaf2bcb32c2f"
}