Adding time.go - not ready yet

This commit is contained in:
Steven Polley 2018-06-22 23:31:09 -06:00
parent 3a78d5428a
commit f446b9c5a8
1 changed files with 18 additions and 0 deletions

18
3.0/connectwise/time.go Normal file
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
}