POST api/RegionDICMapping/Get

Request Information

URI Parameters

None.

Body Parameters

TableDataRequest
NameDescriptionTypeAdditional information
sEcho

integer

None.

iSortCol_0

integer

None.

sSortDir_0

string

None.

iDisplayStart

integer

None.

iDisplayLength

integer

None.

sSearch

string

None.

bRegex

boolean

None.

iColumns

integer

None.

bSortable_

Collection of boolean

None.

bSearchable_

Collection of boolean

None.

sSearch_

Collection of string

None.

bRegex_

Collection of boolean

None.

iSortingCols

integer

None.

iSortCol_

Collection of integer

None.

sSortDir_

Collection of string

None.

mDataProp_

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "sEcho": 1,
  "iSortCol_0": 2,
  "sSortDir_0": "sample string 3",
  "iDisplayStart": 4,
  "iDisplayLength": 5,
  "sSearch": "sample string 6",
  "bRegex": true,
  "iColumns": 8,
  "bSortable_": null,
  "bSearchable_": null,
  "sSearch_": null,
  "bRegex_": null,
  "iSortingCols": 1,
  "iSortCol_": null,
  "sSortDir_": null,
  "mDataProp_": null
}

application/xml, text/xml

Sample:
<TableDataRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.ViewModel.Grid.DataTables">
  <bRegex>true</bRegex>
  <bRegex_ xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.ObjectModel" i:nil="true" />
  <bSearchable_ xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.ObjectModel" i:nil="true" />
  <bSortable_ xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.ObjectModel" i:nil="true" />
  <iColumns>8</iColumns>
  <iDisplayLength>5</iDisplayLength>
  <iDisplayStart>4</iDisplayStart>
  <iSortCol_ xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.ObjectModel" i:nil="true" />
  <iSortCol_0>2</iSortCol_0>
  <iSortingCols>1</iSortingCols>
  <mDataProp_ xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.ObjectModel" i:nil="true" />
  <sEcho>1</sEcho>
  <sSearch>sample string 6</sSearch>
  <sSearch_ xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.ObjectModel" i:nil="true" />
  <sSortDir_ xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.ObjectModel" i:nil="true" />
  <sSortDir_0>sample string 3</sSortDir_0>
</TableDataRequest>

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

Response Information

Resource Description

DataTablesViewModelOfRegionDICMapping
NameDescriptionTypeAdditional information
columns

Collection of Column

None.

data

Collection of RegionDICMapping

None.

iTotalRecords

integer

None.

iTotalDisplayRecords

integer

None.

sEcho

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "columns": null,
  "data": [
    {
      "Id": 1,
      "Region": "sample string 2",
      "DICName": "sample string 3"
    },
    {
      "Id": 1,
      "Region": "sample string 2",
      "DICName": "sample string 3"
    }
  ],
  "iTotalRecords": 1,
  "iTotalDisplayRecords": 2,
  "sEcho": 3
}

application/xml, text/xml

Sample:
<DataTablesViewModelOfRegionDICMappingu9brjQjR xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.ViewModel.Grid">
  <columns xmlns:d2p1="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.ViewModel.Grid.DataTables" i:nil="true" />
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.DataModel">
    <d2p1:RegionDICMapping>
      <d2p1:DICName>sample string 3</d2p1:DICName>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Region>sample string 2</d2p1:Region>
    </d2p1:RegionDICMapping>
    <d2p1:RegionDICMapping>
      <d2p1:DICName>sample string 3</d2p1:DICName>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Region>sample string 2</d2p1:Region>
    </d2p1:RegionDICMapping>
  </data>
  <iTotalDisplayRecords>2</iTotalDisplayRecords>
  <iTotalRecords>1</iTotalRecords>
  <sEcho>3</sEcho>
</DataTablesViewModelOfRegionDICMappingu9brjQjR>