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>96280280-6fde-499b-bc7c-507aa86eee34</OwnerID>
  <AccountID>67a71407-a3c0-40e2-b7fd-57230bae3ba1</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "96280280-6fde-499b-bc7c-507aa86eee34",
  "AccountID": "67a71407-a3c0-40e2-b7fd-57230bae3ba1"
}

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>3b08f5fb-b6ef-4ac7-ae9c-22beba1d46cf</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "3b08f5fb-b6ef-4ac7-ae9c-22beba1d46cf"
}