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>88febf93-db63-46de-9249-085db1a650c5</OwnerID>
  <AccountID>20557bed-a5c1-44c8-83b4-3ddb9961cafc</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "88febf93-db63-46de-9249-085db1a650c5",
  "AccountID": "20557bed-a5c1-44c8-83b4-3ddb9961cafc"
}

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>bd60a70e-2c02-418e-b39b-406c31eea38f</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "bd60a70e-2c02-418e-b39b-406c31eea38f"
}