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>ff6421c6-40ac-4d0a-a71d-43cd832416c6</OwnerID>
  <AccountID>4543e9fa-584a-48a0-b29b-a6633e196e8e</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "ff6421c6-40ac-4d0a-a71d-43cd832416c6",
  "AccountID": "4543e9fa-584a-48a0-b29b-a6633e196e8e"
}

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>ef3c01a8-788f-4eb8-afbe-bd739ba97b41</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "ef3c01a8-788f-4eb8-afbe-bd739ba97b41"
}