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>7cd74380-a79a-4685-85d8-abf5d7739934</OwnerID>
  <AccountID>1f5cce22-e2ff-4529-82f9-6f3678c2be90</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "7cd74380-a79a-4685-85d8-abf5d7739934",
  "AccountID": "1f5cce22-e2ff-4529-82f9-6f3678c2be90"
}

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>3f940d53-560c-4b07-9841-0db30bb3268e</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "3f940d53-560c-4b07-9841-0db30bb3268e"
}