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>1a729699-3959-438b-b1c0-c1fde3a955ad</OwnerID>
  <AccountID>6bb04143-bee2-444f-9467-b7d313a16005</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "1a729699-3959-438b-b1c0-c1fde3a955ad",
  "AccountID": "6bb04143-bee2-444f-9467-b7d313a16005"
}

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>d0b67d19-9ac4-4493-9220-7f32aaf06f71</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "d0b67d19-9ac4-4493-9220-7f32aaf06f71"
}