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>66930236-c44a-487e-966c-41677bf7bfec</OwnerID>
  <AccountID>be47c0ae-eeb8-4cfd-a706-f7c33d334844</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "66930236-c44a-487e-966c-41677bf7bfec",
  "AccountID": "be47c0ae-eeb8-4cfd-a706-f7c33d334844"
}

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>029b36db-cf6a-48c1-8b95-21ee5a2fc95d</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "029b36db-cf6a-48c1-8b95-21ee5a2fc95d"
}