GET api/HealthCentres/HealthCentre/GetHealthCentre
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
HealthCentreAPIVM| Name | Description | Type | Additional information |
|---|---|---|---|
| HealthCenterList | Collection of HealthCenterView |
None. |
|
| TotalRecords | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"HealthCenterList": [
{
"HealthCentreId": 1,
"HealthCentreName": "sample string 2",
"HealthCentreTypeId": 3,
"HealthCentreTypeName": "sample string 4",
"DistrictName": "sample string 5",
"Address": "sample string 6",
"Email": "sample string 7",
"Phone": "sample string 8",
"Latitude": 1.0,
"Longitude": 1.0,
"Description": "sample string 9",
"TransDate": "2025-10-28T01:09:34.50568+05:30",
"UserId": "sample string 11"
},
{
"HealthCentreId": 1,
"HealthCentreName": "sample string 2",
"HealthCentreTypeId": 3,
"HealthCentreTypeName": "sample string 4",
"DistrictName": "sample string 5",
"Address": "sample string 6",
"Email": "sample string 7",
"Phone": "sample string 8",
"Latitude": 1.0,
"Longitude": 1.0,
"Description": "sample string 9",
"TransDate": "2025-10-28T01:09:34.50568+05:30",
"UserId": "sample string 11"
}
],
"TotalRecords": 1
}
application/xml, text/xml
Sample:
<HealthCentreAPIVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/General.Operation.CustomModels">
<HealthCenterList>
<HealthCenterView>
<Address>sample string 6</Address>
<Description>sample string 9</Description>
<DistrictName>sample string 5</DistrictName>
<Email>sample string 7</Email>
<HealthCentreId>1</HealthCentreId>
<HealthCentreName>sample string 2</HealthCentreName>
<HealthCentreTypeId>3</HealthCentreTypeId>
<HealthCentreTypeName>sample string 4</HealthCentreTypeName>
<Latitude>1</Latitude>
<Longitude>1</Longitude>
<Phone>sample string 8</Phone>
<TransDate>2025-10-28T01:09:34.50568+05:30</TransDate>
<UserId>sample string 11</UserId>
</HealthCenterView>
<HealthCenterView>
<Address>sample string 6</Address>
<Description>sample string 9</Description>
<DistrictName>sample string 5</DistrictName>
<Email>sample string 7</Email>
<HealthCentreId>1</HealthCentreId>
<HealthCentreName>sample string 2</HealthCentreName>
<HealthCentreTypeId>3</HealthCentreTypeId>
<HealthCentreTypeName>sample string 4</HealthCentreTypeName>
<Latitude>1</Latitude>
<Longitude>1</Longitude>
<Phone>sample string 8</Phone>
<TransDate>2025-10-28T01:09:34.50568+05:30</TransDate>
<UserId>sample string 11</UserId>
</HealthCenterView>
</HealthCenterList>
<TotalRecords>1</TotalRecords>
</HealthCentreAPIVM>