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>a4511422-2a88-4d49-a302-87cf7b6e04a4</OwnerID>
  <AccountID>1223e6fc-83ab-4b96-b8b6-9b52a428f460</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "a4511422-2a88-4d49-a302-87cf7b6e04a4",
  "AccountID": "1223e6fc-83ab-4b96-b8b6-9b52a428f460"
}

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>2e4f177d-7e2f-4ec6-b4ba-99be85a239a9</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "2e4f177d-7e2f-4ec6-b4ba-99be85a239a9"
}