POST api/PlaceOfDeath/{district}/{hospitalName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
district

string

None.

hospitalName

string

None.

Body Parameters

placeofdeath
NameDescriptionTypeAdditional information
id

integer

None.

typename

string

None.

createdon

date

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "typename": "sample string 2",
  "createdon": "2022-10-04T23:03:14.9683558+05:30"
}

application/xml, text/xml

Sample:
<placeofdeath xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WBBedAvailibility">
  <createdon>2022-10-04T23:03:14.9683558+05:30</createdon>
  <id>1</id>
  <typename>sample string 2</typename>
</placeofdeath>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

placeofdeath
NameDescriptionTypeAdditional information
id

integer

None.

typename

string

None.

createdon

date

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "typename": "sample string 2",
  "createdon": "2022-10-04T23:03:14.9683558+05:30"
}

application/xml, text/xml

Sample:
<placeofdeath xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WBBedAvailibility">
  <createdon>2022-10-04T23:03:14.9683558+05:30</createdon>
  <id>1</id>
  <typename>sample string 2</typename>
</placeofdeath>