public TimeEntryResponse StopTimeEntry(string workspaceId, string userId, StopTimeEntryRequest data) { var status = 0; var result = ServiceUtility.WebAPIRequest(out status, ServiceUtility.ClockifyApiUrl, Enums.WebMethod.PATCH, "/workspaces/" + workspaceId + "/user/" + userId + "/time-entries", null, data, headers: new List <KeyValuePair <string, string> >() { AuthHeader }); return(Newtonsoft.Json.JsonConvert.DeserializeObject <TimeEntryResponse>(result)); }
public static TimeEntryResponse StopClockify(string workspaceId, string userId, StopTimeEntryRequest req) { return(_clockifyService.StopTimeEntry(workspaceId, userId, req)); }