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>01696596-c011-4302-b2bb-238d323e51ee</OwnerID>
  <AccountID>03929d70-123a-4871-8310-2f726b48a362</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "01696596-c011-4302-b2bb-238d323e51ee",
  "AccountID": "03929d70-123a-4871-8310-2f726b48a362"
}

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>af265c8c-16ed-4ad4-a3e7-b6eca12b7354</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "af265c8c-16ed-4ad4-a3e7-b6eca12b7354"
}