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>ae62bb3f-6522-4d22-af7d-2cede5948a57</OwnerID>
  <AccountID>95d5a1a5-af8c-4aa9-85fa-9d5ebb79c4b1</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "ae62bb3f-6522-4d22-af7d-2cede5948a57",
  "AccountID": "95d5a1a5-af8c-4aa9-85fa-9d5ebb79c4b1"
}

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>c5045d2f-7b30-4cd5-a759-327995b71228</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "c5045d2f-7b30-4cd5-a759-327995b71228"
}