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>7ad11bbe-90bb-4ee8-b8ef-71e15990a04f</OwnerID>
  <AccountID>281c78fc-cd7a-4636-ac89-ed87088b4270</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "7ad11bbe-90bb-4ee8-b8ef-71e15990a04f",
  "AccountID": "281c78fc-cd7a-4636-ac89-ed87088b4270"
}

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>28446ecd-d5d0-4177-9539-fcd9bd97069c</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "28446ecd-d5d0-4177-9539-fcd9bd97069c"
}