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>154df91f-e2b9-422f-b60f-85426f47900a</OwnerID>
  <AccountID>0d36778e-be02-4765-a11e-337e8d58ff6a</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "154df91f-e2b9-422f-b60f-85426f47900a",
  "AccountID": "0d36778e-be02-4765-a11e-337e8d58ff6a"
}

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>039bd6f7-e22c-40ae-8195-4f18fe28a915</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "039bd6f7-e22c-40ae-8195-4f18fe28a915"
}