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>2264b10e-6ba8-47b6-b43c-c91e0568ea97</OwnerID>
  <AccountID>aa428cf2-16a1-4074-847c-b1ddc935e938</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "2264b10e-6ba8-47b6-b43c-c91e0568ea97",
  "AccountID": "aa428cf2-16a1-4074-847c-b1ddc935e938"
}

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>f7504c10-fb7a-436e-bf67-7df93334f486</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "f7504c10-fb7a-436e-bf67-7df93334f486"
}