Commit Graph

12 Commits

Author SHA1 Message Date
f446b9c5a8 Adding time.go - not ready yet 2018-06-22 23:31:09 -06:00
3a78d5428a Restructure - using pointer receivers instead of passing *ConnectwiseSite to every single function 2018-06-22 21:14:08 -06:00
ed6df77eb5 Remove net/url from includes where it's not required...whoops 2018-06-22 18:48:54 -06:00
4eaca267d9 Create generic BuildUrl function to reduce the need to go through all the net/url crap each time 2018-06-22 18:47:39 -06:00
a66ba7ca89 Updated file layout to match CW API documentation 2018-06-22 14:16:26 -06:00
a1635ed170 Began work on webhooks/callback support. Added additional request types. TBD: refactor requests into a generic request type and instead pass whether it is a GET, POST, UPDATE, DELETE, etc request 2018-06-20 15:59:12 -06:00
480d28baa0 Add GetTicketByID method 2018-06-20 14:24:50 -06:00
4e97924700 Created method for generic GET request to CW API to handle all the HTTP garbage. Updated methods to use new GetRequest method. 2018-06-20 14:23:49 -06:00
3c8e0a424f Moved getHTTPResponseBody to requests.go what am i doing lol 2018-06-20 13:24:47 -06:00
c998cd19a7 Add getHTTPResponseBody method, add GetCompanyByID method. Created Company type and changed Companies type to be a slice of Company stucts 2018-06-20 13:19:36 -06:00
c21dc9c2cb Added ConnectwiseSite struct and method, added GetCompaniesByName method 2018-06-20 10:55:53 -06:00
0c9c05c62d Add struct for companies 2018-06-20 09:47:40 -06:00