PUT api/BedUpdate/{district}/{blocktype}/{block}?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

district

string

None.

blocktype

string

None.

block

string

None.

Body Parameters

hospitalbed_dtl
NameDescriptionTypeAdditional information
hospitalbed_dtlid

integer

None.

hospitalregid

integer

None.

bedtype

string

None.

totalbed

decimal number

None.

admitted

decimal number

None.

Availablebed

decimal number

None.

createdon

date

None.

insertedon

date

None.

active

string

None.

gender

string

None.

lastupdatedon

string

None.

Request Formats

application/json, text/json

Sample:
{
  "hospitalbed_dtlid": 1,
  "hospitalregid": 1,
  "bedtype": "sample string 2",
  "totalbed": 1.0,
  "admitted": 1.0,
  "Availablebed": 1.0,
  "createdon": "2022-10-05T11:45:15.3219712+05:30",
  "insertedon": "2022-10-05T11:45:15.3219712+05:30",
  "active": "sample string 3",
  "gender": "sample string 4",
  "lastupdatedon": "sample string 5"
}

application/xml, text/xml

Sample:
<hospitalbed_dtl xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WBBedAvailibility">
  <Availablebed>1</Availablebed>
  <active>sample string 3</active>
  <admitted>1</admitted>
  <bedtype>sample string 2</bedtype>
  <createdon>2022-10-05T11:45:15.3219712+05:30</createdon>
  <gender>sample string 4</gender>
  <hospitalbed_dtlid>1</hospitalbed_dtlid>
  <hospitalregid>1</hospitalregid>
  <insertedon>2022-10-05T11:45:15.3219712+05:30</insertedon>
  <lastupdatedon>sample string 5</lastupdatedon>
  <totalbed>1</totalbed>
</hospitalbed_dtl>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.