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>f3639811-f9a5-4600-84fd-1e7c605f94ab</OwnerID>
  <AccountID>50ff0585-fbd4-472e-92a8-2cb884a9d385</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "f3639811-f9a5-4600-84fd-1e7c605f94ab",
  "AccountID": "50ff0585-fbd4-472e-92a8-2cb884a9d385"
}

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>c919c4e3-5ee6-4904-8e04-83ad8c699561</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "c919c4e3-5ee6-4904-8e04-83ad8c699561"
}