GET api/HospitalRegistration/{district}/{hospitalType}/{bedType}/{bedAvailability}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
district | string |
Required |
|
hospitalType | string |
None. |
|
bedType | string |
None. |
|
bedAvailability | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of hospitalregName | Description | Type | Additional information |
---|---|---|---|
hospitalregid | integer |
None. |
|
hospitalname | string |
None. |
|
address | string |
None. |
|
contactno | string |
None. |
|
userid | string |
None. |
|
active | string |
None. |
|
pincode | decimal number |
None. |
|
latitude | string |
None. |
|
longitude | string |
None. |
|
totalbed | decimal number |
None. |
|
creatdon | date |
None. |
|
pwd | string |
None. |
|
hospitaltype | string |
None. |
|
district | string |
None. |
|
lastupdatedon | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "hospitalregid": 1, "hospitalname": "sample string 2", "address": "sample string 3", "contactno": "sample string 4", "userid": "sample string 5", "active": "sample string 6", "pincode": 1.0, "latitude": "sample string 7", "longitude": "sample string 8", "totalbed": 1.0, "creatdon": "2024-09-08T08:10:48.8036769+05:30", "pwd": "sample string 9", "hospitaltype": "sample string 10", "district": "sample string 11", "lastupdatedon": "sample string 12" }, { "hospitalregid": 1, "hospitalname": "sample string 2", "address": "sample string 3", "contactno": "sample string 4", "userid": "sample string 5", "active": "sample string 6", "pincode": 1.0, "latitude": "sample string 7", "longitude": "sample string 8", "totalbed": 1.0, "creatdon": "2024-09-08T08:10:48.8036769+05:30", "pwd": "sample string 9", "hospitaltype": "sample string 10", "district": "sample string 11", "lastupdatedon": "sample string 12" } ]
application/xml, text/xml
Sample:
<ArrayOfhospitalreg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WBBedAvailibility"> <hospitalreg> <active>sample string 6</active> <address>sample string 3</address> <contactno>sample string 4</contactno> <creatdon>2024-09-08T08:10:48.8036769+05:30</creatdon> <district>sample string 11</district> <hospitalname>sample string 2</hospitalname> <hospitalregid>1</hospitalregid> <hospitaltype>sample string 10</hospitaltype> <lastupdatedon>sample string 12</lastupdatedon> <latitude>sample string 7</latitude> <longitude>sample string 8</longitude> <pincode>1</pincode> <pwd>sample string 9</pwd> <totalbed>1</totalbed> <userid>sample string 5</userid> </hospitalreg> <hospitalreg> <active>sample string 6</active> <address>sample string 3</address> <contactno>sample string 4</contactno> <creatdon>2024-09-08T08:10:48.8036769+05:30</creatdon> <district>sample string 11</district> <hospitalname>sample string 2</hospitalname> <hospitalregid>1</hospitalregid> <hospitaltype>sample string 10</hospitaltype> <lastupdatedon>sample string 12</lastupdatedon> <latitude>sample string 7</latitude> <longitude>sample string 8</longitude> <pincode>1</pincode> <pwd>sample string 9</pwd> <totalbed>1</totalbed> <userid>sample string 5</userid> </hospitalreg> </ArrayOfhospitalreg>