POST api/wardmaster/{district}/{hospitalType}/{bedType}/{bedAvailability}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
district

string

None.

hospitalType

string

None.

bedType

string

None.

bedAvailability

string

None.

Body Parameters

wardmaster
NameDescriptionTypeAdditional information
id

integer

None.

wardno

string

None.

district

string

None.

createdon

date

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "wardno": "sample string 2",
  "district": "sample string 3",
  "createdon": "2022-10-04T20:55:08.0668031+05:30"
}

application/xml, text/xml

Sample:
<wardmaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WBBedAvailibility">
  <createdon>2022-10-04T20:55:08.0668031+05:30</createdon>
  <district>sample string 3</district>
  <id>1</id>
  <wardno>sample string 2</wardno>
</wardmaster>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

wardmaster
NameDescriptionTypeAdditional information
id

integer

None.

wardno

string

None.

district

string

None.

createdon

date

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "wardno": "sample string 2",
  "district": "sample string 3",
  "createdon": "2022-10-04T20:55:08.0824286+05:30"
}

application/xml, text/xml

Sample:
<wardmaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WBBedAvailibility">
  <createdon>2022-10-04T20:55:08.0824286+05:30</createdon>
  <district>sample string 3</district>
  <id>1</id>
  <wardno>sample string 2</wardno>
</wardmaster>