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>dba45acc-4c74-4e56-9878-c5a4031818ad</OwnerID>
  <AccountID>73fa7fbe-977d-4b4c-baef-38101136317b</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "dba45acc-4c74-4e56-9878-c5a4031818ad",
  "AccountID": "73fa7fbe-977d-4b4c-baef-38101136317b"
}

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>1fa7a8d1-1ac7-4fb7-943f-396e5436e16a</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "1fa7a8d1-1ac7-4fb7-943f-396e5436e16a"
}