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>b99c8184-e59a-4a1a-8a7b-25c943c39590</OwnerID>
  <AccountID>b089f1ec-ac92-4685-b447-71d361aeeb50</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "b99c8184-e59a-4a1a-8a7b-25c943c39590",
  "AccountID": "b089f1ec-ac92-4685-b447-71d361aeeb50"
}

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>cda65b0b-a111-47e3-9752-c3eb399e44c7</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "cda65b0b-a111-47e3-9752-c3eb399e44c7"
}