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>37743e56-3cb8-428a-a1f2-7e6dc2ababa0</OwnerID>
  <AccountID>07bce5f1-8592-4ec2-bf76-5039e7d7ef65</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "37743e56-3cb8-428a-a1f2-7e6dc2ababa0",
  "AccountID": "07bce5f1-8592-4ec2-bf76-5039e7d7ef65"
}

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>d7572869-bf53-426e-a251-dca2cb931aa0</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "d7572869-bf53-426e-a251-dca2cb931aa0"
}