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>8bfde8b6-0ebf-4b80-b04b-ac2a7c25bf9b</OwnerID>
  <AccountID>eae42c65-2798-4e7e-9a9e-79456c0ded1e</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "8bfde8b6-0ebf-4b80-b04b-ac2a7c25bf9b",
  "AccountID": "eae42c65-2798-4e7e-9a9e-79456c0ded1e"
}

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>929d5826-1e05-41e6-98fa-b18252d34070</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "929d5826-1e05-41e6-98fa-b18252d34070"
}