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>e9b7da01-c4ad-44fc-aa78-8f39f7b84570</OwnerID>
  <AccountID>1bf29fa7-e9ec-438c-9bc3-7175cebdc4e3</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "e9b7da01-c4ad-44fc-aa78-8f39f7b84570",
  "AccountID": "1bf29fa7-e9ec-438c-9bc3-7175cebdc4e3"
}

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>81b5e332-1eb4-4896-bf2b-0b0d7d8f7140</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "81b5e332-1eb4-4896-bf2b-0b0d7d8f7140"
}