GET api/Patients/ListAllWardsMethod?FacId={FacId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
FacId

integer

Required

Body Parameters

None.

Response Information

Resource Description

ListallWardsViewModel
NameDescriptionTypeAdditional information
listwardsresult

Collection of ListallWardsView

None.

Response Formats

application/json, text/json

Sample:
{
  "listwardsresult": [
    {
      "WardID": 1,
      "WardName": "sample string 2"
    },
    {
      "WardID": 1,
      "WardName": "sample string 2"
    }
  ]
}

text/html

Sample:
{"listwardsresult":[{"WardID":1,"WardName":"sample string 2"},{"WardID":1,"WardName":"sample string 2"}]}

application/xml, text/xml

Sample:
<ListallWardsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AsterHISInfoAPIv2.Models">
  <listwardsresult>
    <ListallWardsView>
      <WardID>1</WardID>
      <WardName>sample string 2</WardName>
    </ListallWardsView>
    <ListallWardsView>
      <WardID>1</WardID>
      <WardName>sample string 2</WardName>
    </ListallWardsView>
  </listwardsresult>
</ListallWardsViewModel>