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>0648f229-c785-426d-93e7-ea6e0d4cda91</OwnerID>
  <AccountID>cbeb6b7a-b80e-4b5e-942d-7fda640c281f</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "0648f229-c785-426d-93e7-ea6e0d4cda91",
  "AccountID": "cbeb6b7a-b80e-4b5e-942d-7fda640c281f"
}

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>846f4cd3-afb1-45e2-973f-127e07592dcf</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "846f4cd3-afb1-45e2-973f-127e07592dcf"
}