POST api/policestation

Request Information

URI Parameters

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-10-06T03:10:05.8309299+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-10-06T03:10:05.8309299+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-10-06T03:10:05.8309299+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-10-06T03:10:05.8309299+05:30</createdon>
  <district>sample string 3</district>
  <id>1</id>
  <policestationname>sample string 2</policestationname>
</policestation>