GET search/waterbodies?s={s}&q={q}&type={type}&sortDir={sortDir}&sortCol={sortCol}&pageLen={pageLen}&pageNum={pageNum}

Search Water body Details

Request Information

URI Parameters

NameDescriptionTypeAdditional information
s

site Id

integer

Required

q

Water body name

string

Required

type

water resource type

string

Default value is All

sortDir

Sorting Direction 1= Asc

integer

Default value is 1

sortCol

sorting Column

string

Default value is waterbodyname

pageLen

Page Length

integer

Default value is 25

pageNum

Page Number

integer

Default value is 1

Body Parameters

None.

Response Information

Resource Description

WbSearchViewModel
NameDescriptionTypeAdditional information
TotalRows

integer

None.

Result

Collection of WaterbodySearchDetails

None.

PageNumber

integer

None.

PageLength

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalRows": 1,
  "Result": null,
  "PageNumber": 2,
  "PageLength": 3
}

text/javascript, application/javascript, application/json-p

Sample:
/**/ typeof  === 'function' && ({"TotalRows":1,"Result":null,"PageNumber":2,"PageLength":3});