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>e4c6c299-94bd-41da-a670-0f90b3f8dfbf</OwnerID>
  <AccountID>326ccab8-154b-43cf-94e2-dc51632e1978</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "e4c6c299-94bd-41da-a670-0f90b3f8dfbf",
  "AccountID": "326ccab8-154b-43cf-94e2-dc51632e1978"
}

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>6cff955e-8836-476d-a531-d85e357ea7f7</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "6cff955e-8836-476d-a531-d85e357ea7f7"
}