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>0608027b-a77a-43b0-b9d8-83f5a4354869</OwnerID>
  <AccountID>ea8b82de-9ae5-40a3-9d5b-fd26f8a4a305</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "0608027b-a77a-43b0-b9d8-83f5a4354869",
  "AccountID": "ea8b82de-9ae5-40a3-9d5b-fd26f8a4a305"
}

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>593196fc-22db-41c6-8b90-eeff56db0317</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "593196fc-22db-41c6-8b90-eeff56db0317"
}