GET api/State/getFilteredStates

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

StateListModel
NameDescriptionTypeAdditional information
data

Collection of StateModel

None.

status

boolean

None.

msg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "StateId": 1,
      "StateCode": "sample string 2",
      "StateName": "sample string 3"
    },
    {
      "StateId": 1,
      "StateCode": "sample string 2",
      "StateName": "sample string 3"
    }
  ],
  "status": true,
  "msg": "sample string 2"
}

application/xml, text/xml

Sample:
<StateListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERPTestAPI.Models">
  <data>
    <StateModel>
      <StateCode>sample string 2</StateCode>
      <StateId>1</StateId>
      <StateName>sample string 3</StateName>
    </StateModel>
    <StateModel>
      <StateCode>sample string 2</StateCode>
      <StateId>1</StateId>
      <StateName>sample string 3</StateName>
    </StateModel>
  </data>
  <msg>sample string 2</msg>
  <status>true</status>
</StateListModel>