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>40e756e1-08f0-4d1d-8cc4-bb5e54bfbdbd</OwnerID>
  <AccountID>66d3cce8-7e0b-4dc6-b5a5-ec04f974412f</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "40e756e1-08f0-4d1d-8cc4-bb5e54bfbdbd",
  "AccountID": "66d3cce8-7e0b-4dc6-b5a5-ec04f974412f"
}

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>9e563345-8cad-4695-89f2-fdcad7e19940</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "9e563345-8cad-4695-89f2-fdcad7e19940"
}