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>3c81a615-937e-48ad-b3be-2e1e7a31e7bb</OwnerID>
  <AccountID>244aed31-8231-4e23-8f53-d426710dfb2d</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "3c81a615-937e-48ad-b3be-2e1e7a31e7bb",
  "AccountID": "244aed31-8231-4e23-8f53-d426710dfb2d"
}

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>d6b1708c-bdfd-45b9-aaf3-1407287592b9</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "d6b1708c-bdfd-45b9-aaf3-1407287592b9"
}