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>faa43666-ff50-43cc-9e4b-360a7b2aebed</OwnerID>
  <AccountID>abd42ce6-c3e2-43d7-9be1-bf5c2d3ea43c</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "faa43666-ff50-43cc-9e4b-360a7b2aebed",
  "AccountID": "abd42ce6-c3e2-43d7-9be1-bf5c2d3ea43c"
}

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>8fd23b5d-0753-425c-92da-c34da1d08366</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "8fd23b5d-0753-425c-92da-c34da1d08366"
}