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>fafba367-fade-4d16-8cee-3cd0fd238a16</OwnerID>
  <AccountID>b1e1d9d7-3698-4c57-b93a-92829bbfd643</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "fafba367-fade-4d16-8cee-3cd0fd238a16",
  "AccountID": "b1e1d9d7-3698-4c57-b93a-92829bbfd643"
}

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>01d2bff7-2976-4d1a-857b-d0874ed21ddb</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "01d2bff7-2976-4d1a-857b-d0874ed21ddb"
}