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>294aaf6b-41f6-497f-8bae-a9294c32572d</OwnerID>
  <AccountID>9a8d3120-4265-42ed-ae51-18dfedb1848a</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "294aaf6b-41f6-497f-8bae-a9294c32572d",
  "AccountID": "9a8d3120-4265-42ed-ae51-18dfedb1848a"
}

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>4cdecf03-cd06-450f-8ef1-8995b5fe4466</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "4cdecf03-cd06-450f-8ef1-8995b5fe4466"
}