POST api/District/{district}/{hospitalName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
district

string

None.

hospitalName

string

None.

Body Parameters

districtmaster
NameDescriptionTypeAdditional information
districtid

integer

None.

districtname

string

None.

active

string

None.

createdon

date

None.

Request Formats

application/json, text/json

Sample:
{
  "districtid": 1,
  "districtname": "sample string 2",
  "active": "sample string 3",
  "createdon": "2022-10-04T21:19:10.5683114+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-10-04T21:19:10.5683114+05:30</createdon>
  <districtid>1</districtid>
  <districtname>sample string 2</districtname>
</districtmaster>

application/x-www-form-urlencoded

Sample:

Sample not available.

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-10-04T21:19:10.5839365+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-10-04T21:19:10.5839365+05:30</createdon>
  <districtid>1</districtid>
  <districtname>sample string 2</districtname>
</districtmaster>