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>16c4827a-fe21-4a4f-8abf-713697a3ee40</OwnerID>
  <AccountID>84db3ae3-a754-4c9c-a1c2-a4289fc85f43</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "16c4827a-fe21-4a4f-8abf-713697a3ee40",
  "AccountID": "84db3ae3-a754-4c9c-a1c2-a4289fc85f43"
}

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>83987d3b-0129-4724-8f5c-ded31c68ea28</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "83987d3b-0129-4724-8f5c-ded31c68ea28"
}