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>dd1c2588-9664-4c0c-bdd3-a7b097fdaea0</OwnerID>
  <AccountID>13fdac1f-cad3-4081-8b7a-000cbffc119c</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "dd1c2588-9664-4c0c-bdd3-a7b097fdaea0",
  "AccountID": "13fdac1f-cad3-4081-8b7a-000cbffc119c"
}

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>2ac5785b-37da-4002-95b9-19a22a64bb2e</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "2ac5785b-37da-4002-95b9-19a22a64bb2e"
}