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>48bf2c0c-155f-459d-bd99-f73dcc06015e</OwnerID>
  <AccountID>47277a83-0eba-4d04-89ef-fcac695de36f</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "48bf2c0c-155f-459d-bd99-f73dcc06015e",
  "AccountID": "47277a83-0eba-4d04-89ef-fcac695de36f"
}

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>7a9052bc-905d-41b0-8716-10c4389caee5</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "7a9052bc-905d-41b0-8716-10c4389caee5"
}