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>350f5381-091c-46f1-910d-e7f91686d9aa</OwnerID>
  <AccountID>1fb75525-505d-4f26-9700-c2aa75811464</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "350f5381-091c-46f1-910d-e7f91686d9aa",
  "AccountID": "1fb75525-505d-4f26-9700-c2aa75811464"
}

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>e8a3be55-3639-4107-8ff1-ede84706deb5</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "e8a3be55-3639-4107-8ff1-ede84706deb5"
}