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>01f14f87-9c32-4c7b-b881-d4a957191063</OwnerID>
  <AccountID>1a2f68f4-20ac-4219-856e-e9b98287df16</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "01f14f87-9c32-4c7b-b881-d4a957191063",
  "AccountID": "1a2f68f4-20ac-4219-856e-e9b98287df16"
}

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>ddd5bf47-1dbc-451e-92f4-466fa9385bf7</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "ddd5bf47-1dbc-451e-92f4-466fa9385bf7"
}