POST api/policestation/{district}/{hospitalName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
district

string

None.

hospitalName

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-12-01T19:06:53.8663962+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-12-01T19:06:53.8663962+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-12-01T19:06:53.8663962+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-12-01T19:06:53.8663962+05:30</createdon>
  <district>sample string 3</district>
  <id>1</id>
  <policestationname>sample string 2</policestationname>
</policestation>