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>177a2699-3e14-4ff7-ae21-66e35b47ca14</OwnerID>
  <AccountID>9259dde3-c83f-4eaa-bf5c-d02cc2540583</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "177a2699-3e14-4ff7-ae21-66e35b47ca14",
  "AccountID": "9259dde3-c83f-4eaa-bf5c-d02cc2540583"
}

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>3a0803e9-f355-482a-9879-2abe2c61174e</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "3a0803e9-f355-482a-9879-2abe2c61174e"
}