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>1c0d59ee-592a-443a-a6a2-da79db18226d</OwnerID>
  <AccountID>f1a8b676-f080-43bb-9367-4e7a1ae4cc7c</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "1c0d59ee-592a-443a-a6a2-da79db18226d",
  "AccountID": "f1a8b676-f080-43bb-9367-4e7a1ae4cc7c"
}

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>e70590fa-539a-4b79-bcef-e4caf0be338a</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "e70590fa-539a-4b79-bcef-e4caf0be338a"
}