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>e007fd8a-ed2c-4461-a92b-5e7aa169f428</OwnerID>
  <AccountID>d0d79890-f0dd-48c1-b257-7cb585812983</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "e007fd8a-ed2c-4461-a92b-5e7aa169f428",
  "AccountID": "d0d79890-f0dd-48c1-b257-7cb585812983"
}

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>b08ad1bc-3b65-4379-b457-b5436edc3275</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "b08ad1bc-3b65-4379-b457-b5436edc3275"
}