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>d905969b-fecf-45a2-a21a-0f375c47ecee</OwnerID>
  <AccountID>8a987a9d-24dc-4660-9328-fae949c68e33</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "d905969b-fecf-45a2-a21a-0f375c47ecee",
  "AccountID": "8a987a9d-24dc-4660-9328-fae949c68e33"
}

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>ca5b73bd-f897-4688-938c-7662c45fc81d</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "ca5b73bd-f897-4688-938c-7662c45fc81d"
}