POST api/Articles/Post

Request Information

URI Parameters

None.

Body Parameters

SearchFilter
NameDescriptionTypeAdditional information
Tenant

string

None.

Category

string

None.

FreeSearch

string

None.

OrderBy

string

None.

OrderDirection

string

None.

FromDate

date

None.

UserId

string

None.

Radius

decimal number

None.

RadiusCenterLatitude

decimal number

None.

RadiusCenterLongitude

decimal number

None.

DynamicParameters

Dictionary of string [key] and string [value]

None.

PageIndex

integer

None.

PageSize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Tenant": "sample string 1",
  "Category": "sample string 2",
  "FreeSearch": "sample string 3",
  "OrderBy": "sample string 4",
  "OrderDirection": "sample string 5",
  "FromDate": "2024-11-19T03:30:18.8468895+01:00",
  "UserId": "sample string 6",
  "Radius": 7.1,
  "RadiusCenterLatitude": 8.1,
  "RadiusCenterLongitude": 9.1,
  "DynamicParameters": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "PageIndex": 10,
  "PageSize": 11
}

application/xml, text/xml

Sample:
<SearchFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SearchEngine.Services.Search.Models">
  <Category>sample string 2</Category>
  <DynamicParameters xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </DynamicParameters>
  <FreeSearch>sample string 3</FreeSearch>
  <FromDate>2024-11-19T03:30:18.8468895+01:00</FromDate>
  <OrderBy>sample string 4</OrderBy>
  <OrderDirection>sample string 5</OrderDirection>
  <PageIndex>10</PageIndex>
  <PageSize>11</PageSize>
  <Radius>7.1</Radius>
  <RadiusCenterLatitude>8.1</RadiusCenterLatitude>
  <RadiusCenterLongitude>9.1</RadiusCenterLongitude>
  <Tenant>sample string 1</Tenant>
  <UserId>sample string 6</UserId>
</SearchFilter>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SearchFilter'.

Response Information

Resource Description

Articles
NameDescriptionTypeAdditional information
QueryError

boolean

None.

ErrorMessage

string

None.

FoundResults

integer

None.

Results

Collection of Article

None.

TopResults

Collection of Article

None.

CategoryFacets

CategoryFacets

None.

DynamicFacets

Collection of DynamicFacet

None.

DynamicInputs

Collection of DynamicInput

None.

CursorMark

string

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.