GET api/admin/masters/AllDistricts
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of utblMstDistrict| Name | Description | Type | Additional information |
|---|---|---|---|
| DistrictID | integer |
None. |
|
| DistrictName | string |
Required |
Response Formats
application/json, text/json
Sample:
[
{
"DistrictID": 1,
"DistrictName": "sample string 2"
},
{
"DistrictID": 1,
"DistrictName": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfutblMstDistrict xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FireNOC.Entities.Models">
<utblMstDistrict>
<DistrictID>1</DistrictID>
<DistrictName>sample string 2</DistrictName>
</utblMstDistrict>
<utblMstDistrict>
<DistrictID>1</DistrictID>
<DistrictName>sample string 2</DistrictName>
</utblMstDistrict>
</ArrayOfutblMstDistrict>