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>ef0552f8-22e1-48fa-aad5-e8dd32c566d0</OwnerID>
  <AccountID>835dc4c8-3766-4d61-9015-8e8a509aa27f</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "ef0552f8-22e1-48fa-aad5-e8dd32c566d0",
  "AccountID": "835dc4c8-3766-4d61-9015-8e8a509aa27f"
}

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>7c4c8e8c-4791-4335-a0bc-af060db8bf50</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "7c4c8e8c-4791-4335-a0bc-af060db8bf50"
}