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>7a50bad5-b9dd-419c-8144-028029829168</OwnerID>
  <AccountID>2b6d79f1-37d6-43a6-a26b-7037f2eb0c4b</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "7a50bad5-b9dd-419c-8144-028029829168",
  "AccountID": "2b6d79f1-37d6-43a6-a26b-7037f2eb0c4b"
}

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>073f1de1-addd-4275-bb93-a09f04443ec7</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "073f1de1-addd-4275-bb93-a09f04443ec7"
}