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>40f6fc96-ac81-4059-b97f-c9fad0bc154c</OwnerID>
  <AccountID>c608cc96-7f82-4fd1-8b1b-9d19da6ddf74</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "40f6fc96-ac81-4059-b97f-c9fad0bc154c",
  "AccountID": "c608cc96-7f82-4fd1-8b1b-9d19da6ddf74"
}

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>72e973f9-f94a-427d-afda-384bd4496b1c</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "72e973f9-f94a-427d-afda-384bd4496b1c"
}