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>d83f9731-1d4a-4060-8336-5ee2b9bf2a4a</OwnerID>
  <AccountID>9c86b910-e3d4-44fd-be5d-652ed5099093</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "d83f9731-1d4a-4060-8336-5ee2b9bf2a4a",
  "AccountID": "9c86b910-e3d4-44fd-be5d-652ed5099093"
}

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>4dffa0f9-7907-4ed8-8df9-8c0102ce96dc</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "4dffa0f9-7907-4ed8-8df9-8c0102ce96dc"
}