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>5d0fad67-31b4-4404-a78f-226640b61696</OwnerID>
  <AccountID>ad602537-41e7-4748-84af-98eae17d4fb3</AccountID>
</Request>

application/json, text/json

Sample:
{
  "OwnerID": "5d0fad67-31b4-4404-a78f-226640b61696",
  "AccountID": "ad602537-41e7-4748-84af-98eae17d4fb3"
}

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>8e0207f3-654c-4da1-8f88-825bb1fd547c</RecognitionPackageId>
</Result>

application/json, text/json

Sample:
{
  "RecognitionPackageId": "8e0207f3-654c-4da1-8f88-825bb1fd547c"
}