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>eeec1066-ad8a-45be-aa0e-42dee060d899</OwnerID>
  <AccountID>1dd8d7cb-fbd4-4c3d-b67d-915c10d8e846</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "eeec1066-ad8a-45be-aa0e-42dee060d899",
  "AccountID": "1dd8d7cb-fbd4-4c3d-b67d-915c10d8e846"
}

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>235f2d2d-e579-4c6f-b35d-50fc8daa82d5</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "235f2d2d-e579-4c6f-b35d-50fc8daa82d5"
}