Beispiel #1
0
        public object Post(Tickets_Time_Logs request)
        {
            ApiUser hdUser = request.ApiUser;

            request.ticket_key = request.ticket_key ?? "";
            Ticket.InputTime(hdUser, Ticket.GetId(hdUser.OrganizationId, hdUser.DepartmentId, request.ticket_key), request.task_type_id, request.hours, hdUser.TimeZoneOffset, request.note_text);
            return(new HttpResult("", HttpStatusCode.OK));
        }
Beispiel #2
0
 public object Post(Tickets_Time_Logs request)
 {
     ApiUser hdUser = request.ApiUser;
     request.ticket_key = request.ticket_key ?? "";
     Ticket.InputTime(hdUser, Ticket.GetId(hdUser.OrganizationId, hdUser.DepartmentId, request.ticket_key), request.task_type_id, request.hours, hdUser.TimeZoneOffset, request.note_text);
     return new HttpResult("", HttpStatusCode.OK);
 }