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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
district

string

None.

hospitalType

string

None.

bedType

string

None.

bedAvailability

string

None.

Body Parameters

LoginInput
NameDescriptionTypeAdditional information
userid

string

None.

pwd

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userid": "sample string 1",
  "pwd": "sample string 2"
}

application/xml, text/xml

Sample:
<LoginInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WBBedAvailibility.Models">
  <pwd>sample string 2</pwd>
  <userid>sample string 1</userid>
</LoginInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HospitalLogin
NameDescriptionTypeAdditional information
hospitalregid

integer

None.

hospitalname

string

None.

address

string

None.

Response Formats

application/json, text/json

Sample:
{
  "hospitalregid": 1,
  "hospitalname": "sample string 2",
  "address": "sample string 3"
}

application/xml, text/xml

Sample:
<HospitalLogin xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WBBedAvailibility.Models">
  <address>sample string 3</address>
  <hospitalname>sample string 2</hospitalname>
  <hospitalregid>1</hospitalregid>
</HospitalLogin>