POST District/Search

get list District by pagination and search criteria

Request Information

URI Parameters

None.

Body Parameters

ParamPagination
NameDescriptionTypeAdditional information
Search

string

None.

TotalRowPerPage

integer

None.

Page

integer

None.

OrderByColumnName

string

None.

OrderByDirection

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Search": "sample string 1",
  "TotalRowPerPage": 1,
  "Page": 1,
  "OrderByColumnName": "sample string 2",
  "OrderByDirection": "sample string 3"
}

Response Information

Resource Description

ResultPaginationModelOfListOfDistrictModel
NameDescriptionTypeAdditional information
TotalRow

integer

None.

StatusCode

string

None.

StatusMessage

string

None.

Value

Collection of DistrictModel

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalRow": 1,
  "StatusCode": "sample string 2",
  "StatusMessage": "sample string 3",
  "Value": [
    {
      "ID": 1,
      "RegionID": 2,
      "Code": "sample string 3",
      "Name": "sample string 4"
    },
    {
      "ID": 1,
      "RegionID": 2,
      "Code": "sample string 3",
      "Name": "sample string 4"
    }
  ]
}