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>ed9dddd4-9142-4bc1-8f04-df34f5411fc1</OwnerID>
  <AccountID>0adb27e5-0e03-4155-825c-adffdf240360</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "ed9dddd4-9142-4bc1-8f04-df34f5411fc1",
  "AccountID": "0adb27e5-0e03-4155-825c-adffdf240360"
}

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>b19834c3-49eb-491a-afb6-02c29ad30a0a</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "b19834c3-49eb-491a-afb6-02c29ad30a0a"
}