POST api/BedUpdate/{district}/{hospitalType}/{bedType}/{bedAvailability}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
district

string

None.

hospitalType

string

None.

bedType

string

None.

bedAvailability

string

None.

Body Parameters

Collection of 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-04T21:33:31.1710354+05:30",
    "insertedon": "2022-10-04T21:33:31.1710354+05:30",
    "active": "sample string 3",
    "gender": "sample string 4",
    "lastupdatedon": "sample string 5"
  },
  {
    "hospitalbed_dtlid": 1,
    "hospitalregid": 1,
    "bedtype": "sample string 2",
    "totalbed": 1.0,
    "admitted": 1.0,
    "Availablebed": 1.0,
    "createdon": "2022-10-04T21:33:31.1710354+05:30",
    "insertedon": "2022-10-04T21:33:31.1710354+05:30",
    "active": "sample string 3",
    "gender": "sample string 4",
    "lastupdatedon": "sample string 5"
  }
]

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of 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.

Response 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-04T21:33:31.1710354+05:30",
    "insertedon": "2022-10-04T21:33:31.1710354+05:30",
    "active": "sample string 3",
    "gender": "sample string 4",
    "lastupdatedon": "sample string 5"
  },
  {
    "hospitalbed_dtlid": 1,
    "hospitalregid": 1,
    "bedtype": "sample string 2",
    "totalbed": 1.0,
    "admitted": 1.0,
    "Availablebed": 1.0,
    "createdon": "2022-10-04T21:33:31.1710354+05:30",
    "insertedon": "2022-10-04T21:33:31.1710354+05:30",
    "active": "sample string 3",
    "gender": "sample string 4",
    "lastupdatedon": "sample string 5"
  }
]

application/xml, text/xml

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