Adding time.go - not ready yet

This commit is contained in:
steven committed 2018-06-22 23:31:09 -06:00
1 parent 3a78d5428a
commit f446b9c5a8
1 file changed
+18
+18
View File
@@ -0,0 +1,18 @@
package connectwise
import (
"fmt"
)
func (cw *ConnectwiseSite) GetTimeEntryByID(timeEntryID int) {
Url := cw.BuildUrl(fmt.Sprintf("/time/entries/%d", timeEntryID))
body := cw.GetRequest(Url)
fmt.Print(string(body))
//timeEntry := TimeEntry{}
// check(json.Unmarshal(body, &timeEntry))
// return &timeEntry
}