deleteTimesheet function

Future<ApiResponse<Object?>> deleteTimesheet(
  1. ExsitedClient client,
  2. Object createdTimesheetId, {
  3. bool? raiseOnError,
  4. String? responseFormat,
})

DELETE /api/{api_version}/timesheets/{timesheet_id}

No typed view. Read response.map.

Implementation

Future<ApiResponse<Object?>> deleteTimesheet(
  ExsitedClient client,
  Object createdTimesheetId, {
  bool? raiseOnError,
  String? responseFormat,
}) =>
    client.sendDeleteRequest(TimesheetsUrls.timesheet,
        pathParams: {'timesheet_id': createdTimesheetId},
        raiseOnError: raiseOnError,
        responseFormat: responseFormat);