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>6f8f1417-349c-4370-b5de-6a745f8848ee</OwnerID>
  <AccountID>791a62ba-d015-44b0-b3d5-c741f386c742</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "6f8f1417-349c-4370-b5de-6a745f8848ee",
  "AccountID": "791a62ba-d015-44b0-b3d5-c741f386c742"
}

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>3b7531ca-8db8-4ebc-b10a-15bc229348ab</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "3b7531ca-8db8-4ebc-b10a-15bc229348ab"
}