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>de0ffbab-4e0c-49ed-8eba-465943086841</OwnerID>
  <AccountID>14408c6f-d801-4952-b944-fdacbbc96b18</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "de0ffbab-4e0c-49ed-8eba-465943086841",
  "AccountID": "14408c6f-d801-4952-b944-fdacbbc96b18"
}

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>7a3fbc19-716d-4005-9a26-eb637c0e2603</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "7a3fbc19-716d-4005-9a26-eb637c0e2603"
}