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>7cd43101-d1bf-425f-b267-293861088ccb</OwnerID>
  <AccountID>c2c8f558-c7a5-468c-bb95-b1f0be96099b</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "7cd43101-d1bf-425f-b267-293861088ccb",
  "AccountID": "c2c8f558-c7a5-468c-bb95-b1f0be96099b"
}

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>552f759e-1a60-4e70-9a6a-cb483ccf39e4</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "552f759e-1a60-4e70-9a6a-cb483ccf39e4"
}