Adding time.go - not ready yet
This commit is contained in:
parent
3a78d5428a
commit
f446b9c5a8
18
3.0/connectwise/time.go
Normal file
18
3.0/connectwise/time.go
Normal 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
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user