POST api/MobileCheckinContacts/v2/{EventId}/{InstanceId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
EventId

integer

Required

InstanceId

integer

Required

Body Parameters

DataTablesServerRequest
NameDescriptionTypeAdditional information
draw

integer

None.

start

integer

None.

length

integer

None.

columns

Collection of Column

None.

search

Search

None.

order

Collection of Order

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"
    }
  ]
}

application/xml, text/xml

Sample:
<DataTablesServerRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PosAppBackend.Models">
  <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>
</DataTablesServerRequest>

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 'DataTablesServerRequest'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.