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>4fb0bd08-3646-4cf3-bf5b-e7b43bfcbb8e</OwnerID>
  <AccountID>68aaa980-7ac7-4ec0-b2a5-821ac8638f2a</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "4fb0bd08-3646-4cf3-bf5b-e7b43bfcbb8e",
  "AccountID": "68aaa980-7ac7-4ec0-b2a5-821ac8638f2a"
}

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>6b67907b-6b68-4457-801d-16f2ae7ac8f7</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "6b67907b-6b68-4457-801d-16f2ae7ac8f7"
}