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>4bedc7f4-9042-41b6-afbc-e5bba1b1fb83</OwnerID>
  <AccountID>bdc42df2-d81f-49f5-9e74-0595a7135fed</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "4bedc7f4-9042-41b6-afbc-e5bba1b1fb83",
  "AccountID": "bdc42df2-d81f-49f5-9e74-0595a7135fed"
}

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>ac2d544a-1754-4002-a2ab-bb7855f6292e</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "ac2d544a-1754-4002-a2ab-bb7855f6292e"
}