GET api/District/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

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-12-01T17:35:12.7602028+05:30"
}

application/xml, text/xml

Sample:
<districtmaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WBBedAvailibility">
  <active>sample string 3</active>
  <createdon>2022-12-01T17:35:12.7602028+05:30</createdon>
  <districtid>1</districtid>
  <districtname>sample string 2</districtname>
</districtmaster>