findHealthcarePartiesBySpecialityAndPostCodeWithHttpInfo method
Find healthcare parties by name with(out) pagination
Returns a list of healthcare parties.
Note: This method returns the HTTP Response
.
Parameters:
Implementation
Future<Response> findHealthcarePartiesBySpecialityAndPostCodeWithHttpInfo(String type, String spec, String firstCode, String lastCode, { int? limit, }) async {
// ignore: prefer_const_declarations
final path = r'/rest/v1/hcparty/bySpecialityAndPostCode/{type}/{spec}/{firstCode}/to/{lastCode}'
.replaceAll('{type}', type)
.replaceAll('{spec}', spec)
.replaceAll('{firstCode}', firstCode)
.replaceAll('{lastCode}', lastCode);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
if (limit != null) {
queryParams.addAll(_queryParams('', 'limit', limit));
}
const authNames = <String>[r'basicSchema'];
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
authNames,
);
}