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>9f1573df-000b-48b7-b229-1f0cbd6364bb</OwnerID>
  <AccountID>009deb73-a697-4791-ace6-205ed5aaac1b</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "9f1573df-000b-48b7-b229-1f0cbd6364bb",
  "AccountID": "009deb73-a697-4791-ace6-205ed5aaac1b"
}

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>5e828659-45b4-446c-b7cb-1af6adf85f62</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "5e828659-45b4-446c-b7cb-1af6adf85f62"
}