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>7ab346fd-b856-4d10-a34a-467f63569559</OwnerID>
  <AccountID>25e55507-b521-4c03-b2f3-dda7d0531e8c</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "7ab346fd-b856-4d10-a34a-467f63569559",
  "AccountID": "25e55507-b521-4c03-b2f3-dda7d0531e8c"
}

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>843c68e9-0ba7-456e-a28d-e3a3816d5144</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "843c68e9-0ba7-456e-a28d-e3a3816d5144"
}