GET api/GetHospitals
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of APIHospitalName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Title | string |
None. |
|
Inactive | boolean |
None. |
|
Code | string |
None. |
|
Address | string |
None. |
|
AddressLong | decimal number |
None. |
|
AddressLat | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ID": 1, "Title": "sample string 2", "Code": "sample string 4", "Inactive": true, "Address": "sample string 5", "AddressLong": 1.0, "AddressLat": 1.0 }, { "ID": 1, "Title": "sample string 2", "Code": "sample string 4", "Inactive": true, "Address": "sample string 5", "AddressLong": 1.0, "AddressLat": 1.0 } ]
application/octet-stream, multipart/form-data
Sample:
[{"ID":1,"Title":"sample string 2","Code":"sample string 4","Inactive":true,"Address":"sample string 5","AddressLong":1.0,"AddressLat":1.0},{"ID":1,"Title":"sample string 2","Code":"sample string 4","Inactive":true,"Address":"sample string 5","AddressLong":1.0,"AddressLat":1.0}]
application/xml, text/xml
Sample:
<ArrayOfSysItemsController.APIHospital xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HTMW.Controllers"> <SysItemsController.APIHospital> <Address>sample string 5</Address> <AddressLat>1</AddressLat> <AddressLong>1</AddressLong> <Code>sample string 4</Code> <ID>1</ID> <Inactive>true</Inactive> <Title>sample string 2</Title> </SysItemsController.APIHospital> <SysItemsController.APIHospital> <Address>sample string 5</Address> <AddressLat>1</AddressLat> <AddressLong>1</AddressLong> <Code>sample string 4</Code> <ID>1</ID> <Inactive>true</Inactive> <Title>sample string 2</Title> </SysItemsController.APIHospital> </ArrayOfSysItemsController.APIHospital>