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>e9fdae64-cb45-4e6d-9b4f-dc7edf20e4d3</OwnerID>
  <AccountID>9a124d30-e040-47e3-a34a-cb89caf5726c</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "e9fdae64-cb45-4e6d-9b4f-dc7edf20e4d3",
  "AccountID": "9a124d30-e040-47e3-a34a-cb89caf5726c"
}

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>0e036757-6148-4b32-b19d-887838f2a15f</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "0e036757-6148-4b32-b19d-887838f2a15f"
}