-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Applications API: move from v3 to v4
- Loading branch information
1 parent
40c694a
commit a104a9c
Showing
7 changed files
with
10 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
author = "Maksym Novozhylov <[email protected]>", | ||
date = "6/4/2014", | ||
currentRevision = 1, | ||
lastModified = "6/4/2014", | ||
lastModified = "2/15/2014", | ||
lastModifiedBy = "Maksym Novozhylov", | ||
reviewers = {"Yiota Tsakiri"} | ||
) | ||
|
@@ -50,7 +50,7 @@ public Applications(OAuthClient client) { | |
* @return object | ||
*/ | ||
public JSONObject getList(HashMap<String, String> params) throws JSONException { | ||
return oClient.get("/hr/v3/clients/applications", params); | ||
return oClient.get("/hr/v4/clients/applications", params); | ||
} | ||
|
||
/** | ||
|
@@ -61,7 +61,7 @@ public JSONObject getList(HashMap<String, String> params) throws JSONException { | |
* @return object | ||
*/ | ||
public JSONObject getSpecific(String reference, HashMap<String, String> params) throws JSONException { | ||
return oClient.get("/hr/v3/clients/applications/" + reference, params); | ||
return oClient.get("/hr/v4/clients/applications/" + reference, params); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
author = "Maksym Novozhylov <[email protected]>", | ||
date = "6/4/2014", | ||
currentRevision = 1, | ||
lastModified = "6/4/2014", | ||
lastModified = "2/15/2014", | ||
lastModifiedBy = "Maksym Novozhylov", | ||
reviewers = {"Yiota Tsakiri"} | ||
) | ||
|
@@ -51,7 +51,7 @@ public Applications(OAuthClient client) { | |
* @return {@link JSONObject} | ||
*/ | ||
public JSONObject getList(HashMap<String, String> params) throws JSONException { | ||
return oClient.get("/hr/v3/contractors/applications", params); | ||
return oClient.get("/hr/v4/contractors/applications", params); | ||
} | ||
|
||
/** | ||
|
@@ -62,7 +62,7 @@ public JSONObject getList(HashMap<String, String> params) throws JSONException { | |
* @return {@link JSONObject} | ||
*/ | ||
public JSONObject getSpecific(String reference) throws JSONException { | ||
return oClient.get("/hr/v3/contractors/applications/" + reference); | ||
return oClient.get("/hr/v4/contractors/applications/" + reference); | ||
} | ||
|
||
} |