POST api/admin/user

Get users from system

Request Information

URI Parameters

None.

Body Parameters

DataTableRequest
NameDescriptionTypeAdditional information
Draw

integer

None.

Start

integer

None.

Length

integer

None.

Columns

Collection of ColumnRequestItem

None.

Order

Collection of OrderRequestItem

None.

Search

SearchRequestItem

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": true
      }
    },
    {
      "Data": "sample string 1",
      "Name": "sample string 2",
      "Searchable": true,
      "Orderable": true,
      "Search": {
        "Value": "sample string 1",
        "Regex": true
      }
    }
  ],
  "Order": [
    {
      "Column": 1,
      "Dir": "sample string 2"
    },
    {
      "Column": 1,
      "Dir": "sample string 2"
    }
  ],
  "Search": {
    "Value": "sample string 1",
    "Regex": true
  }
}

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

Response Information

Resource Description

a list of users with basic info

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.