getTimesheet function
Future<ApiResponse<Timesheets> >
getTimesheet(
- ExsitedClient client,
- Object timesheetId, {
- bool? raiseOnError,
- String? responseFormat,
GET /api/{api_version}/timesheets/{timesheet_id}
Get one timesheet, by the ts_ id the listing and the create answer.
Implementation
Future<ApiResponse<Timesheets>> getTimesheet(
ExsitedClient client,
Object timesheetId, {
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendGetRequest(TimesheetsUrls.timesheet,
pathParams: {'timesheet_id': timesheetId},
raiseOnError: raiseOnError,
responseFormat: responseFormat,
dtoDecoder: Timesheets.fromMap);