This website requires JavaScript.
947924bd6d
Merge branch 'master' of https://deadbeef.codes:/steven/go-cw
master
steven
2019-04-06 14:36:40 -06:00
a396f83e13
API changes: Update company schema
steven
2019-04-06 14:36:38 -06:00
2f10dcd9fc
BREAKING - assignTicketToMember now returns if action was taken
Steven Polley
2019-03-22 09:24:07 -06:00
c539729232
Add GetSystemMemberByID
steven
2019-03-21 16:11:18 -06:00
df988bda1a
add removeTicketFromMember
Steven Polley
2019-03-08 15:37:26 -07:00
9b16b013fa
Add support for clientID. Required in CW 2019.02 onwards.
Steven Polley
2019-02-13 08:29:00 -07:00
81d01fb5cb
add searchCompanyByName
Steven Polley
2019-02-06 23:30:27 -07:00
a00620ff03
Add SearchSystemMembersByIdentifier
Steven Polley
2019-02-06 21:49:52 -07:00
4171abcd8d
Add GetSystemMembers and GetSystemMemberByIdentifier
Steven Polley
2019-02-05 22:32:41 -07:00
e6b8394896
Add UpdateContact, NewContactCommunication
Steven Polley
2019-01-31 13:37:23 -07:00
cfd77982dc
Add Contact, getbyID and NewContact
Steven Polley
2019-01-30 11:05:47 -07:00
95aad7bbd1
Add postTicketNote
Steven Polley
2019-01-29 16:56:49 -07:00
c0598c6739
debug message
Steven Polley
2019-01-16 14:24:24 -07:00
d6aa5ac62c
Change pagesize for ticket notes to 2000
Steven Polley
2019-01-16 14:00:49 -07:00
0cdc6993d3
Add GetCompanySites
Steven Polley
2018-12-07 09:44:26 -07:00
fc75a98982
Add AssignTicketToSite
Steven Polley
2018-12-07 09:07:18 -07:00
22727bc160
Add Clients.go
Steven Polley
2018-11-27 16:03:45 -07:00
5e36bc0aad
Beginning to work on support for ConnectWise Automate
Steven Polley
2018-11-27 15:12:49 -07:00
fe360d2e7d
Remove debug prints
Steven Polley
2018-10-16 09:00:54 -06:00
660c35487f
Add AssignTickeToCompany
Steven Polley
2018-10-15 18:20:55 -06:00
959df43d67
Add GetCompanyByIdentifier
Steven Polley
2018-10-15 18:20:41 -06:00
7510bdd6ed
Merge branch 'master' of https://deadbeef.codes/steven/go-cw
Steven Polley
2018-10-11 21:49:07 -06:00
cb7bc8b84a
Add GetTicketScheduleEntries and MergeTicket
Steven Polley
2018-10-11 21:49:05 -06:00
b7a609f10b
Add GetScheduleEntryByID
Steven Polley
2018-10-11 21:48:47 -06:00
c994cf3c59
more debug
Steven Polley
2018-09-28 16:54:02 -06:00
249cf7f366
debugging updateTicketStatus
Steven Polley
2018-09-28 16:50:24 -06:00
1a8fa52767
Added SetTicketStatus to allow updating of ticket status by ID
Steven Polley
2018-09-22 15:07:34 -06:00
e301c1feeb
Excessive prints... Printscess?
Steven Polley
2018-08-25 18:19:26 -06:00
460b0a8aa6
If we get an unexpected HTTP status code, print the body in error
Steven Polley
2018-08-25 18:17:59 -06:00
a12e38597f
Add PostTimeEntry
Steven Polley
2018-08-25 18:17:29 -06:00
c341f047a5
add getTicketNotes - Lots of dates are now strings
Steven Polley
2018-08-23 19:34:39 -06:00
386a7d75ca
Added GetTimeEntriesByMember
Steven Polley
2018-08-22 22:02:22 -06:00
55443ad4ef
Set Site.CompanyName even if not doing user impersonation
Steven Polley
2018-08-13 22:58:21 -06:00
8ccc2ad170
Update comment on custom field
Steven Polley
2018-08-05 17:00:58 -06:00
04e889c444
Better comments in requests.go to explain user impersonation
Steven Polley
2018-08-03 15:00:17 -06:00
b6d96444b5
Add bool to custom field - this isn't good long term?
Steven Polley
2018-07-30 12:44:35 -06:00
5acbb39d8f
Change Patch to PatchString
Steven Polley
2018-07-29 12:22:08 -06:00
bf30760baf
Remove redundant http status code in error
Steven Polley
2018-07-28 09:58:04 -06:00
101d8061b3
Added GetCompanyTeamMembers
Steven Polley
2018-07-27 18:53:28 -06:00
28b6efc18c
Fix user impersonation requests
Steven Polley
2018-07-27 13:29:31 -06:00
0b898af164
NewSiteUserImpersonation is now able to retrieve hash
Steven Polley
2018-07-26 22:31:47 -06:00
b90025c6bd
Merge branch 'master' of deadbeef.codes:steven/go-cw
Steven Polley
2018-07-26 21:30:38 -06:00
9e107cb487
add user impersonation via username and password.
Steven Polley
2018-07-26 21:30:23 -06:00
7c1534265b
Update comment on paginationrequests
Steven Polley
2018-07-26 16:52:34 -06:00
0eca613e65
-Add GetSources() -Add TicketTimeEntryCount(ticketID int) -Add source struct for JSON unmarshalling
Steven Polley
2018-07-11 16:04:39 -06:00
d62f57b470
Add GetCompanyStatuses Add GetBoardStatuses
Steven Polley
2018-07-10 10:46:10 -06:00
b4d146e6e2
Add Patch Add AssignTicketToTeam
Steven Polley
2018-07-09 20:48:02 -06:00
8909e6f25e
Added ServiceTeam Added BoardTeam Added Board
Steven Polley
2018-07-09 19:25:08 -06:00
03728eda85
Add correct types to schedule entry struct
Steven Polley
2018-07-08 22:11:56 -06:00
a403fa2e58
testing schedule entry condition filtering
Steven Polley
2018-07-08 19:07:39 -06:00
0b9d1cacb2
Add GetSystemMembers Begin work on schedule API
Steven Polley
2018-07-08 18:02:29 -06:00
b538596d9c
NewRequest is now a method of a connectwise.Site
Steven Polley
2018-07-08 15:16:59 -06:00
993c7ee254
Document Count method Fix Request parameters for CW filtering.
Steven Polley
2018-07-08 11:21:07 -06:00
99bf114c75
Fix GetCompanyByName Change how request parameters are set
Steven Polley
2018-07-08 09:50:05 -06:00
7e94afac9c
Add CompanyCount method and Count struct to hold return data
Steven Polley
2018-07-08 00:59:32 -06:00
d2ec87e7ca
Add GetAgreementByID
Steven Polley
2018-07-07 19:10:43 -06:00
0c7791e267
Complete refactor of request system... much more flexible requests.
Steven Polley
2018-07-07 17:18:59 -06:00
9eabee18ff
-Fix ConnectWise parameters map -Added error checkign in GetCompanyByName if no companies returned by CW
Steven Polley
2018-07-07 16:31:45 -06:00
c6b82d473c
Update company.go to use new request feature.
Steven Polley
2018-07-06 19:40:12 -06:00
8c79fef71a
Rename connectwise.ConnectwiseSite to connectwise.Site
Steven Polley
2018-07-06 18:29:53 -06:00
d87b8ff4ba
-Added to documentation -Moved logic of http request to the Do() method in request.go -
Steven Polley
2018-07-06 18:26:11 -06:00
d14f0583ee
Begin work on generic request method. Will probably absorb http client functions into this when done.
Steven Polley
2018-07-06 16:21:00 -06:00
b5ce1c3243
Fix README.md
Steven Polley
2018-07-06 12:57:51 -06:00
f13537fc8c
Fix error formatting - what was I doing?!?!
Steven Polley
2018-07-06 08:37:53 -06:00
ae4c27d491
Update README.md to reflect new error handling
Steven Polley
2018-07-05 22:47:03 -06:00
9cef8aeaa2
Breaking - Implement proper error handling. Everything passes errors up
Steven Polley
2018-07-05 21:20:52 -06:00
f2e6e33a53
Fix URL in system.go
Steven Polley
2018-07-05 19:57:24 -06:00
1576a16d65
Update README.MD - import paths
Steven Polley
2018-07-02 16:17:26 -06:00
8d6312bff5
Add GetAgreementsByCompanyName
Steven Polley
2018-06-30 11:15:52 -06:00
4616997d47
Merge
Steven Polley
2018-06-28 19:38:22 -06:00
e88572ea4c
Various formatting, documentation and style changes.
Steven Polley
2018-06-28 19:35:34 -06:00
ab8a24800f
Added ConfigurationReference struct and GetTicketConfigurationsByID(ticketID) receiver
Steven Polley
2018-06-26 10:03:11 -06:00
b35fcbbbb0
TIL about struct tagging using string literals... I thought those were just weird fancy comments.
Steven Polley
2018-06-26 09:03:36 -06:00
3258707dce
Custom fields should be a slice of structs in time.go
Steven Polley
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
Steven Polley
2018-06-22 23:47:25 -06:00
5de7832341
Add custom fields to TimeEntry struct
Steven Polley
2018-06-22 23:39:02 -06:00
4e8a357551
Adding time.go - not ready yet
Steven Polley
2018-06-22 23:35:42 -06:00
f446b9c5a8
Adding time.go - not ready yet
Steven Polley
2018-06-22 23:31:09 -06:00
3a78d5428a
Restructure - using pointer receivers instead of passing *ConnectwiseSite to every single function
Steven Polley
2018-06-22 21:14:08 -06:00
ed6df77eb5
Remove net/url from includes where it's not required...whoops
Steven Polley
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
Steven Polley
2018-06-22 18:47:39 -06:00
a66ba7ca89
Updated file layout to match CW API documentation
Steven Polley
2018-06-22 14:14:21 -06:00
8adc3a69a1
Updated README.md
Steven Polley
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
Steven Polley
2018-06-20 15:59:12 -06:00
480d28baa0
Add GetTicketByID method
Steven Polley
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.
Steven Polley
2018-06-20 14:23:49 -06:00
3c8e0a424f
Moved getHTTPResponseBody to requests.go what am i doing lol
Steven Polley
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
Steven Polley
2018-06-20 13:19:36 -06:00
c21dc9c2cb
Added ConnectwiseSite struct and method, added GetCompaniesByName method
Steven Polley
2018-06-20 10:55:53 -06:00
0c9c05c62d
Add struct for companies
Steven Polley
2018-06-20 09:47:40 -06:00
6543a12edf
Add incomplete disclaimer to readme
Steven Polley
2018-06-20 09:16:40 -06:00
5615e59be2
Initial commit
Steven Polley
2018-06-20 08:39:46 -06:00