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>f87f08aa-e5d5-43f2-bebe-19fc73f0f868</OwnerID>
  <AccountID>e7303786-1fae-4468-be6c-c60c34a60f8b</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "f87f08aa-e5d5-43f2-bebe-19fc73f0f868",
  "AccountID": "e7303786-1fae-4468-be6c-c60c34a60f8b"
}

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>6d5ed557-a43c-4678-b363-80494202847d</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "6d5ed557-a43c-4678-b363-80494202847d"
}