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>420c84ee-b758-4726-8314-c2299be24107</OwnerID>
  <AccountID>dd6a57ec-bfba-4e4b-8af1-295c0a128881</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "420c84ee-b758-4726-8314-c2299be24107",
  "AccountID": "dd6a57ec-bfba-4e4b-8af1-295c0a128881"
}

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>a7498779-4e55-4404-8907-0e469cb18a1d</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "a7498779-4e55-4404-8907-0e469cb18a1d"
}