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>ca6e717c-b3e6-4bb8-8b57-73f7b6ecac77</OwnerID>
  <AccountID>3df3a6b6-262c-40db-9565-8fce6fbc7f4c</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "ca6e717c-b3e6-4bb8-8b57-73f7b6ecac77",
  "AccountID": "3df3a6b6-262c-40db-9565-8fce6fbc7f4c"
}

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>2de5ec16-a904-433a-ae83-facc7233923f</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "2de5ec16-a904-433a-ae83-facc7233923f"
}