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>809c6d8d-5fe4-425d-bfd6-ca867a4feb72</OwnerID>
  <AccountID>4289f425-77ed-494c-9e68-9487daeb67c7</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "809c6d8d-5fe4-425d-bfd6-ca867a4feb72",
  "AccountID": "4289f425-77ed-494c-9e68-9487daeb67c7"
}

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>e17cb0f4-2c09-4118-85fd-cdd597c2a481</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "e17cb0f4-2c09-4118-85fd-cdd597c2a481"
}