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>4dad91c5-dcd5-4ff9-9131-a164c2d423b9</OwnerID>
  <AccountID>a775202b-308f-4d0d-93ff-4f155cd4e173</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "4dad91c5-dcd5-4ff9-9131-a164c2d423b9",
  "AccountID": "a775202b-308f-4d0d-93ff-4f155cd4e173"
}

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>a52ec4b1-8417-4dc8-8c62-476ae851065a</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "a52ec4b1-8417-4dc8-8c62-476ae851065a"
}