GET api/hospitalmasters/{district}/{hospitalName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
district

string

None.

hospitalName

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of hospitalmaster
NameDescriptionTypeAdditional information
id

integer

None.

hospitalname

string

None.

hospitaltype

string

None.

district

string

None.

location

string

None.

createdon

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "hospitalname": "sample string 2",
    "hospitaltype": "sample string 3",
    "district": "sample string 4",
    "location": "sample string 5",
    "createdon": "2022-12-01T17:52:38.1800717+05:30"
  },
  {
    "id": 1,
    "hospitalname": "sample string 2",
    "hospitaltype": "sample string 3",
    "district": "sample string 4",
    "location": "sample string 5",
    "createdon": "2022-12-01T17:52:38.1800717+05:30"
  }
]

application/xml, text/xml

Sample:
<ArrayOfhospitalmaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WBBedAvailibility">
  <hospitalmaster>
    <createdon>2022-12-01T17:52:38.1800717+05:30</createdon>
    <district>sample string 4</district>
    <hospitalname>sample string 2</hospitalname>
    <hospitaltype>sample string 3</hospitaltype>
    <id>1</id>
    <location>sample string 5</location>
  </hospitalmaster>
  <hospitalmaster>
    <createdon>2022-12-01T17:52:38.1800717+05:30</createdon>
    <district>sample string 4</district>
    <hospitalname>sample string 2</hospitalname>
    <hospitaltype>sample string 3</hospitaltype>
    <id>1</id>
    <location>sample string 5</location>
  </hospitalmaster>
</ArrayOfhospitalmaster>