POST api/Venue/CustomServerSideSearchAction

Request Information

URI Parameters

None.

Body Parameters

DataTableAjaxPostModel
NameDescriptionTypeAdditional information
draw

integer

None.

start

integer

None.

length

integer

None.

columns

Collection of Column

None.

search

Search

None.

order

Collection of Order

None.

Filters

Collection of string

None.

VenueId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "draw": 1,
  "start": 2,
  "length": 3,
  "columns": [
    {
      "data": "sample string 1",
      "name": "sample string 2",
      "searchable": true,
      "orderable": true,
      "search": {
        "value": "sample string 1",
        "regex": "sample string 2"
      }
    },
    {
      "data": "sample string 1",
      "name": "sample string 2",
      "searchable": true,
      "orderable": true,
      "search": {
        "value": "sample string 1",
        "regex": "sample string 2"
      }
    }
  ],
  "search": {
    "value": "sample string 1",
    "regex": "sample string 2"
  },
  "order": [
    {
      "column": 1,
      "dir": "sample string 2"
    },
    {
      "column": 1,
      "dir": "sample string 2"
    }
  ],
  "filters": [
    "sample string 1",
    "sample string 2"
  ],
  "venueId": 4
}

text/html

Sample:
{"draw":1,"start":2,"length":3,"columns":[{"data":"sample string 1","name":"sample string 2","searchable":true,"orderable":true,"search":{"value":"sample string 1","regex":"sample string 2"}},{"data":"sample string 1","name":"sample string 2","searchable":true,"orderable":true,"search":{"value":"sample string 1","regex":"sample string 2"}}],"search":{"value":"sample string 1","regex":"sample string 2"},"order":[{"column":1,"dir":"sample string 2"},{"column":1,"dir":"sample string 2"}],"filters":["sample string 1","sample string 2"],"venueId":4}

application/xml, text/xml

Sample:
<DataTableAjaxPostModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Models.Api">
  <Filters xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Filters>
  <VenueId>4</VenueId>
  <columns>
    <Column>
      <data>sample string 1</data>
      <name>sample string 2</name>
      <orderable>true</orderable>
      <search>
        <regex>sample string 2</regex>
        <value>sample string 1</value>
      </search>
      <searchable>true</searchable>
    </Column>
    <Column>
      <data>sample string 1</data>
      <name>sample string 2</name>
      <orderable>true</orderable>
      <search>
        <regex>sample string 2</regex>
        <value>sample string 1</value>
      </search>
      <searchable>true</searchable>
    </Column>
  </columns>
  <draw>1</draw>
  <length>3</length>
  <order>
    <Order>
      <column>1</column>
      <dir>sample string 2</dir>
    </Order>
    <Order>
      <column>1</column>
      <dir>sample string 2</dir>
    </Order>
  </order>
  <search>
    <regex>sample string 2</regex>
    <value>sample string 1</value>
  </search>
  <start>2</start>
</DataTableAjaxPostModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.