getLabourCalendar function
GET /api/{api_version}/labours/{labour_id}/availability
One labour's availability calendar, under labour_calendar; the id or the
code.
Implementation
Future<ApiResponse<LabourCalendar>> getLabourCalendar(
ExsitedClient client,
Object labourId, {
Map<String, Object?>? queryParams,
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendGetRequest(LaboursUrls.labourCalendar,
pathParams: {'labour_id': labourId},
queryParams: queryParams,
raiseOnError: raiseOnError,
responseFormat: responseFormat,
dtoDecoder: LabourCalendar.fromMap);