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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
district

string

None.

hospitalType

string

None.

bedType

string

None.

bedAvailability

string

None.

Body Parameters

policestation
NameDescriptionTypeAdditional information
id

integer

None.

policestationname

string

None.

district

string

None.

createdon

date

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "policestationname": "sample string 2",
  "district": "sample string 3",
  "createdon": "2022-09-29T23:54:46.6373375+05:30"
}

application/xml, text/xml

Sample:
<policestation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WBBedAvailibility">
  <createdon>2022-09-29T23:54:46.6373375+05:30</createdon>
  <district>sample string 3</district>
  <id>1</id>
  <policestationname>sample string 2</policestationname>
</policestation>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

policestation
NameDescriptionTypeAdditional information
id

integer

None.

policestationname

string

None.

district

string

None.

createdon

date

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "policestationname": "sample string 2",
  "district": "sample string 3",
  "createdon": "2022-09-29T23:54:46.6373375+05:30"
}

application/xml, text/xml

Sample:
<policestation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WBBedAvailibility">
  <createdon>2022-09-29T23:54:46.6373375+05:30</createdon>
  <district>sample string 3</district>
  <id>1</id>
  <policestationname>sample string 2</policestationname>
</policestation>