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>c136b9b2-2106-4a5a-87d5-67d9f9e06917</OwnerID>
  <AccountID>221ee917-79d8-4582-82d1-2840d19b9268</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "c136b9b2-2106-4a5a-87d5-67d9f9e06917",
  "AccountID": "221ee917-79d8-4582-82d1-2840d19b9268"
}

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>1ff143f7-0775-487d-9f4f-23b3ef254b1f</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "1ff143f7-0775-487d-9f4f-23b3ef254b1f"
}