Add custom fields to TimeEntry struct

This commit is contained in:
Steven Polley 2018-06-22 23:39:02 -06:00
parent 4e8a357551
commit 5de7832341
1 changed files with 8 additions and 0 deletions

View File

@ -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 {