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>063fde5b-90ba-4240-90a1-ee96632aba06</OwnerID>
  <AccountID>31717a1d-e558-4d44-9ab5-c17bffc1e4f0</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "063fde5b-90ba-4240-90a1-ee96632aba06",
  "AccountID": "31717a1d-e558-4d44-9ab5-c17bffc1e4f0"
}

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>e9e88997-21ac-415e-9b06-b81ce8bdaea1</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "e9e88997-21ac-415e-9b06-b81ce8bdaea1"
}