getLabourProfileSession function
Future<ApiResponse<LabourProfileSessionView> >
getLabourProfileSession(
- ExsitedClient client,
- Object labourProfileId,
- Object sessionId, {
- bool? raiseOnError,
- String? responseFormat,
GET /api/{api_version}/labour_profiles/{labour_profile_id}/sessions/{session_id}
Get one labour profile session.
Implementation
Future<ApiResponse<LabourProfileSessionView>> getLabourProfileSession(
ExsitedClient client,
Object labourProfileId,
Object sessionId, {
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendGetRequest(LaboursUrls.labourProfileSession,
pathParams: {
'labour_profile_id': labourProfileId,
'session_id': sessionId
},
raiseOnError: raiseOnError,
responseFormat: responseFormat,
dtoDecoder: LabourProfileSessionView.fromMap);