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>3bedeb63-a4e2-4aa6-bc60-b38b2a0262aa</OwnerID>
  <AccountID>c50ed3d9-a4ab-4672-8300-2cf81c4ac418</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "3bedeb63-a4e2-4aa6-bc60-b38b2a0262aa",
  "AccountID": "c50ed3d9-a4ab-4672-8300-2cf81c4ac418"
}

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>50d54b44-2296-4f98-9549-8b8e818ae0f6</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "50d54b44-2296-4f98-9549-8b8e818ae0f6"
}