GET api/StateMasters/GetStateMasters
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of StateMaster| Name | Description | Type | Additional information |
|---|---|---|---|
| StateId | integer |
None. |
|
| StateName | string |
None. |
|
| CountryId | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"StateId": 1,
"StateName": "sample string 2",
"CountryId": 1
},
{
"StateId": 1,
"StateName": "sample string 2",
"CountryId": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfStateMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ItemMasterDemoAPI">
<StateMaster>
<CountryId>1</CountryId>
<StateId>1</StateId>
<StateName>sample string 2</StateName>
</StateMaster>
<StateMaster>
<CountryId>1</CountryId>
<StateId>1</StateId>
<StateName>sample string 2</StateName>
</StateMaster>
</ArrayOfStateMaster>