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>c2eafb6d-7561-414d-bc98-dd3f41081983</OwnerID>
  <AccountID>4298a66f-54d1-4201-bbe8-74449e036fb4</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "c2eafb6d-7561-414d-bc98-dd3f41081983",
  "AccountID": "4298a66f-54d1-4201-bbe8-74449e036fb4"
}

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>9ab7627e-1230-483c-8c8d-42f79fa0f1b9</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "9ab7627e-1230-483c-8c8d-42f79fa0f1b9"
}