GET api/admin/masters/States?PageNo={PageNo}&PageSize={PageSize}&SearchTerm={SearchTerm}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| PageNo | integer |
Required |
|
| PageSize | integer |
Required |
|
| SearchTerm | string |
Required |
Body Parameters
None.
Response Information
Resource Description
StateAPIVM| Name | Description | Type | Additional information |
|---|---|---|---|
| StateList | Collection of StatesView |
None. |
|
| TotalRecords | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"StateList": [
{
"StateID": 1,
"StateName": "sample string 2"
},
{
"StateID": 1,
"StateName": "sample string 2"
}
],
"TotalRecords": 1
}
application/xml, text/xml
Sample:
<StateAPIVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LAW.Entities.CustomModels">
<StateList>
<StatesView>
<StateID>1</StateID>
<StateName>sample string 2</StateName>
</StatesView>
<StatesView>
<StateID>1</StateID>
<StateName>sample string 2</StateName>
</StatesView>
</StateList>
<TotalRecords>1</TotalRecords>
</StateAPIVM>