Commit Graph

77 Commits

Author SHA1 Message Date
9cef8aeaa2 Breaking - Implement proper error handling. Everything passes errors up 2018-07-05 21:20:52 -06:00
f2e6e33a53 Fix URL in system.go 2018-07-05 19:57:24 -06:00
1576a16d65 Update README.MD - import paths 2018-07-02 16:17:26 -06:00
8d6312bff5 Add GetAgreementsByCompanyName 2018-06-30 11:15:52 -06:00
4616997d47 Merge 2018-06-28 19:38:22 -06:00
e88572ea4c Various formatting, documentation and style changes. 2018-06-28 19:35:34 -06:00
ab8a24800f Added ConfigurationReference struct and GetTicketConfigurationsByID(ticketID) receiver 2018-06-26 10:03:11 -06:00
b35fcbbbb0 TIL about struct tagging using string literals... I thought those were just weird fancy comments. 2018-06-26 09:03:36 -06:00
3258707dce Custom fields should be a slice of structs in time.go 2018-06-25 12:54:10 -06:00
bcca1e872e Fix example usage since change to using pointer receivers instead of passing ConnectwiseSite pointer to each function 2018-06-22 23:47:25 -06:00
5de7832341 Add custom fields to TimeEntry struct 2018-06-22 23:39:02 -06:00
4e8a357551 Adding time.go - not ready yet 2018-06-22 23:35:42 -06:00
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
8adc3a69a1 Updated README.md 2018-06-20 17:56:50 -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
6543a12edf Add incomplete disclaimer to readme 2018-06-20 09:16:40 -06:00
5615e59be2
Initial commit 2018-06-20 08:39:46 -06:00