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>096465f5-06c6-48f9-9763-adc4060f28d6</OwnerID>
  <AccountID>20cfbdd0-b741-4ec2-bee3-4beec13bde2b</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "096465f5-06c6-48f9-9763-adc4060f28d6",
  "AccountID": "20cfbdd0-b741-4ec2-bee3-4beec13bde2b"
}

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>4d7fc82b-51fc-4172-a561-d5d1ddb03bc4</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "4d7fc82b-51fc-4172-a561-d5d1ddb03bc4"
}