POST api/hospitalmasters

Request Information

URI Parameters

None.

Body Parameters

hospitalmaster
NameDescriptionTypeAdditional information
id

integer

None.

hospitalname

string

None.

hospitaltype

string

None.

district

string

None.

location

string

None.

createdon

date

None.

Request 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-10-08T02:56:41.4459503+05:30"
}

application/xml, text/xml

Sample:
<hospitalmaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WBBedAvailibility">
  <createdon>2022-10-08T02:56:41.4459503+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>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

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-10-08T02:56:41.4459503+05:30"
}

application/xml, text/xml

Sample:
<hospitalmaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WBBedAvailibility">
  <createdon>2022-10-08T02:56:41.4459503+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>