Appearance
getPhns ​
Retrieves a list of all PHNs (Primary Health Networks) or PHNs for a given state.
Request ​
http
GET /rest/refdata/phnsQuery Parameters ​
| Parameter | Type | Required | Description |
|---|---|---|---|
stateCode | string | No | State code, e.g. AU-QLD. If omitted, returns all PHNs. |
Examples ​
http
GET /rest/refdata/phns
GET /rest/refdata/phns?stateCode=AU-QLDResponse ​
200 OK ​
json
[
{
"phnCode": "PHN301",
"phnName": "Brisbane North"
},
{
"phnCode": "PHN302",
"phnName": "Brisbane South"
}
]| Field | Type | Description |
|---|---|---|
phnCode | string | PHN code identifier |
phnName | string | PHN name |
Errors ​
| Exception | Cause |
|---|---|
WSRefDataServiceException | Service error while fetching PHNs |
Version ​
http
GET /rest/refdata/phns/versionjson
{ "version": 1 }