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>aaff77eb-818d-47a4-a882-90a246bd1ede</OwnerID>
  <AccountID>aba75cf4-9bd7-4848-9b29-acd3c187ff7c</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "aaff77eb-818d-47a4-a882-90a246bd1ede",
  "AccountID": "aba75cf4-9bd7-4848-9b29-acd3c187ff7c"
}

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>9bdc6c9e-9331-4995-86b0-058a4ac47815</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "9bdc6c9e-9331-4995-86b0-058a4ac47815"
}