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>e58f051e-50c4-42df-b577-1580da0c6371</OwnerID>
  <AccountID>5553d30a-2a47-4402-bf95-b0be0e939491</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "e58f051e-50c4-42df-b577-1580da0c6371",
  "AccountID": "5553d30a-2a47-4402-bf95-b0be0e939491"
}

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>a57cf84b-7cf9-4a12-b28c-62f9d80683a9</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "a57cf84b-7cf9-4a12-b28c-62f9d80683a9"
}