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>1fbbd630-67a5-4417-be8d-65a08280095c</OwnerID>
  <AccountID>23dba58b-af74-4fe9-8e7e-a31b2023ea9c</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "1fbbd630-67a5-4417-be8d-65a08280095c",
  "AccountID": "23dba58b-af74-4fe9-8e7e-a31b2023ea9c"
}

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>40b1a844-0ee6-4827-b564-619abd19b8c2</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "40b1a844-0ee6-4827-b564-619abd19b8c2"
}