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>06d53b61-bee5-4a4c-b575-bf7c491da5b8</OwnerID>
  <AccountID>3f139504-0e98-42a2-87cb-353e5de8a6c0</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "06d53b61-bee5-4a4c-b575-bf7c491da5b8",
  "AccountID": "3f139504-0e98-42a2-87cb-353e5de8a6c0"
}

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>a53cdd0f-c2bb-4b8b-9689-85892f3ade64</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "a53cdd0f-c2bb-4b8b-9689-85892f3ade64"
}