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>d08b8d44-93bc-47db-bc37-23972c00e293</OwnerID>
  <AccountID>c8cb7408-02ce-4248-92cd-dca7dfc1c029</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "d08b8d44-93bc-47db-bc37-23972c00e293",
  "AccountID": "c8cb7408-02ce-4248-92cd-dca7dfc1c029"
}

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>66cf7dcf-a9c9-4d68-973c-81dfa874584a</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "66cf7dcf-a9c9-4d68-973c-81dfa874584a"
}