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>b063e2b4-bd20-47ba-8f2e-b4c72ed55836</OwnerID>
  <AccountID>637d05f7-6e51-48be-8c4c-271c35d01ff9</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "b063e2b4-bd20-47ba-8f2e-b4c72ed55836",
  "AccountID": "637d05f7-6e51-48be-8c4c-271c35d01ff9"
}

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>3e90add1-9535-4709-9300-dc7b928e5513</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "3e90add1-9535-4709-9300-dc7b928e5513"
}