Skip to content
This repository was archived by the owner on Aug 28, 2025. It is now read-only.

Commit b7014db

Browse files
committed
Update Applications API: move from v3 to v4
1 parent efc584a commit b7014db

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

CHANGES.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1+
## 1.2.1
2+
* Applications API has moved from v3 to v4
3+
14
## 1.2.0
25
* Added Messages API (new)
36
* Message API (V1) is now fully depricated
47

58
## 1.1.1
69
* Add optional parameter to support pagination in GetTrayByType
710

8-
# 1.1.0
11+
## 1.1.0
912
* Get Categories (V1) is now fully depricated
1013
* Added new Activities API - Assign to specific engagement the list of activities
1114

api/routers/hr/clients/applications/applications.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ func New(c api.ApiClient) (a) {
3838

3939
// Get list of applications
4040
func (r a) GetList(params map[string]string) (*http.Response, []byte) {
41-
return r.client.Get("/hr/v3/clients/applications", params)
41+
return r.client.Get("/hr/v4/clients/applications", params)
4242
}
4343

4444
// Get specific application
4545
func (r a) GetSpecific(reference string, params map[string]string) (*http.Response, []byte) {
46-
return r.client.Get("/hr/v3/clients/applications/" + reference, params)
47-
}
46+
return r.client.Get("/hr/v4/clients/applications/" + reference, params)
47+
}

api/routers/hr/freelancers/applications/applications.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ func New(c api.ApiClient) (a) {
3838

3939
// Get list of applications
4040
func (r a) GetList(params map[string]string) (*http.Response, []byte) {
41-
return r.client.Get("/hr/v3/contractors/applications", params)
41+
return r.client.Get("/hr/v4/contractors/applications", params)
4242
}
4343

4444
// Get specific application
4545
func (r a) GetSpecific(reference string) (*http.Response, []byte) {
46-
return r.client.Get("/hr/v3/contractors/applications/" + reference, nil)
47-
}
46+
return r.client.Get("/hr/v4/contractors/applications/" + reference, nil)
47+
}

0 commit comments

Comments
 (0)