POST api/PlaceOfDeath/{district}/{blocktype}/{block}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
district

string

None.

blocktype

string

None.

block

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-09-30T00:00:12.4844051+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-09-30T00:00:12.4844051+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-09-30T00:00:12.4844051+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-09-30T00:00:12.4844051+05:30</createdon>
  <id>1</id>
  <typename>sample string 2</typename>
</placeofdeath>