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>34b21cf1-dc66-4086-b5b7-69533bb84a40</OwnerID>
  <AccountID>3717f939-985c-4127-8496-e2d09323d0fd</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "34b21cf1-dc66-4086-b5b7-69533bb84a40",
  "AccountID": "3717f939-985c-4127-8496-e2d09323d0fd"
}

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>811dd559-27ae-4d7e-baf5-3d4e34ebcade</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "811dd559-27ae-4d7e-baf5-3d4e34ebcade"
}