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>d2ab9ea6-d0f1-4148-bb5f-a479626eb722</OwnerID>
  <AccountID>258cee08-e5f2-4e76-aafb-acb7870dfa88</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "d2ab9ea6-d0f1-4148-bb5f-a479626eb722",
  "AccountID": "258cee08-e5f2-4e76-aafb-acb7870dfa88"
}

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>bcba2860-f7a2-4287-8c69-991a809c4050</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "bcba2860-f7a2-4287-8c69-991a809c4050"
}