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>d95164a9-87da-4d78-a666-eaf6517b4636</OwnerID>
  <AccountID>7ddcbbcb-27df-407a-a5fb-1a4229a3a435</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "d95164a9-87da-4d78-a666-eaf6517b4636",
  "AccountID": "7ddcbbcb-27df-407a-a5fb-1a4229a3a435"
}

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>7c1210e7-a57a-4cb6-9e33-2bfc7a92a241</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "7c1210e7-a57a-4cb6-9e33-2bfc7a92a241"
}