From 5de7832341d3170e257910328dff31487013dec5 Mon Sep 17 00:00:00 2001 From: Steven Polley Date: Fri, 22 Jun 2018 23:39:02 -0600 Subject: [PATCH] Add custom fields to TimeEntry struct --- 3.0/connectwise/time.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/3.0/connectwise/time.go b/3.0/connectwise/time.go index 29f84e8..a87c288 100644 --- a/3.0/connectwise/time.go +++ b/3.0/connectwise/time.go @@ -73,6 +73,14 @@ type TimeEntry struct { UpdatedBy string `json:"updatedBy"` ChargeToMobileGUID string `json:"chargeToMobileGuid"` } `json:"_info"` + CustomFields struct { + ID int + Caption string + Type string + EntryMethod string + NumberOfDecimals int + Value string + } } func (cw *ConnectwiseSite) GetTimeEntryByID(timeEntryID int) *TimeEntry {