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>b6efa927-b369-487a-b61b-49e9a386a0e1</OwnerID>
  <AccountID>0df649eb-c485-424d-a61d-ad959b331506</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "b6efa927-b369-487a-b61b-49e9a386a0e1",
  "AccountID": "0df649eb-c485-424d-a61d-ad959b331506"
}

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>38877252-54cf-4c74-99df-e3015abe6c44</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "38877252-54cf-4c74-99df-e3015abe6c44"
}