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>ebf4b4fb-c45a-475c-a675-413234ae9151</OwnerID>
  <AccountID>45fdb331-f157-4e5b-bdeb-7514df12708b</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "ebf4b4fb-c45a-475c-a675-413234ae9151",
  "AccountID": "45fdb331-f157-4e5b-bdeb-7514df12708b"
}

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>c22f9bd9-dfe5-4aff-8748-97d00e99f276</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "c22f9bd9-dfe5-4aff-8748-97d00e99f276"
}