GET api/District

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of districtmaster
NameDescriptionTypeAdditional information
districtid

integer

None.

districtname

string

None.

active

string

None.

createdon

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "districtid": 1,
    "districtname": "sample string 2",
    "active": "sample string 3",
    "createdon": "2022-10-04T21:09:11.2056807+05:30"
  },
  {
    "districtid": 1,
    "districtname": "sample string 2",
    "active": "sample string 3",
    "createdon": "2022-10-04T21:09:11.2056807+05:30"
  }
]

application/xml, text/xml

Sample:
<ArrayOfdistrictmaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WBBedAvailibility">
  <districtmaster>
    <active>sample string 3</active>
    <createdon>2022-10-04T21:09:11.2056807+05:30</createdon>
    <districtid>1</districtid>
    <districtname>sample string 2</districtname>
  </districtmaster>
  <districtmaster>
    <active>sample string 3</active>
    <createdon>2022-10-04T21:09:11.2056807+05:30</createdon>
    <districtid>1</districtid>
    <districtname>sample string 2</districtname>
  </districtmaster>
</ArrayOfdistrictmaster>