PUT api/BedUpdate/{district}/{hospitalName}?id={id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
|
district | string |
None. |
|
hospitalName | string |
None. |
Body Parameters
hospitalbed_dtlName | Description | Type | Additional 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": "2024-09-08T07:59:32.3607904+05:30", "insertedon": "2024-09-08T07:59:32.3607904+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>2024-09-08T07:59:32.3607904+05:30</createdon> <gender>sample string 4</gender> <hospitalbed_dtlid>1</hospitalbed_dtlid> <hospitalregid>1</hospitalregid> <insertedon>2024-09-08T07:59:32.3607904+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.