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>288ee21b-df9e-474c-a885-17b1981447c5</OwnerID>
  <AccountID>753b0843-b846-4a12-8c05-6034986fae1e</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "288ee21b-df9e-474c-a885-17b1981447c5",
  "AccountID": "753b0843-b846-4a12-8c05-6034986fae1e"
}

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>0148adaf-6c85-4220-a060-c7dfb7f56e1c</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "0148adaf-6c85-4220-a060-c7dfb7f56e1c"
}