GET Register/Clinic?postcode={postcode}&session_id={session_id}
lookup clinics by postcode
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| postcode | string |
None. |
|
| session_id | string |
None. |
Body Parameters
None.
Response Information
Resource Description
replyClinics| Name | Description | Type | Additional information |
|---|---|---|---|
| address | Collection of RegisterPostcodeHelperModel |
None. |
|
| status | integer |
None. |
|
| message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"address": [
{
"clinicid": 1,
"name": "sample string 2",
"tel": "sample string 3",
"addressline1": "sample string 4",
"addressline2": "sample string 5",
"town": "sample string 6",
"county": "sample string 7",
"postcode": "sample string 8",
"countryid": 9
},
{
"clinicid": 1,
"name": "sample string 2",
"tel": "sample string 3",
"addressline1": "sample string 4",
"addressline2": "sample string 5",
"town": "sample string 6",
"county": "sample string 7",
"postcode": "sample string 8",
"countryid": 9
}
],
"status": 1,
"message": "sample string 2"
}