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>53475a12-22f9-4e64-8897-166795deb1d1</OwnerID>
  <AccountID>caae015d-fda7-470d-a02b-625ad0363339</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "53475a12-22f9-4e64-8897-166795deb1d1",
  "AccountID": "caae015d-fda7-470d-a02b-625ad0363339"
}

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>54637ed6-1f5f-4391-8295-28584f7d654c</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "54637ed6-1f5f-4391-8295-28584f7d654c"
}