The Performance Management service enables applications to access and create feedback about workers in the system.
Building the API client library requires:
- Java 1.8+
- Maven (3.8.3+)/Gradle (7.2+)
If you are adding this library to an Android Application or Library:
- Android 8.0+ (API Level 26+)
Add this dependency to your project's POM:
<dependency>
<groupId>com.konfigthis</groupId>
<artifactId>workday-performance-enablement-java-sdk</artifactId>
<version>v5</version>
<scope>compile</scope>
</dependency>
Add this dependency to your build.gradle
:
// build.gradle
repositories {
mavenCentral()
}
dependencies {
implementation "com.konfigthis:workday-performance-enablement-java-sdk:v5"
}
Make sure your build.gradle
file as a minSdk
version of at least 26:
// build.gradle
android {
defaultConfig {
minSdk 26
}
}
Also make sure your library or application has internet permissions in your AndroidManifest.xml
:
<!--AndroidManifest.xml-->
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>
At first generate the JAR by executing:
mvn clean package
Then manually install the following JARs:
target/workday-performance-enablement-java-sdk-v5.jar
target/lib/*.jar
Please follow the installation instruction and execute the following Java code:
import com.konfigthis.client.ApiClient;
import com.konfigthis.client.ApiException;
import com.konfigthis.client.ApiResponse;
import com.konfigthis.client.WorkdayPerformanceEnablement;
import com.konfigthis.client.Configuration;
import com.konfigthis.client.model.*;
import com.konfigthis.client.api.PromptValuesApi;
import java.util.List;
import java.util.Map;
import java.util.UUID;
public class Example {
public static void main(String[] args) {
Configuration configuration = new Configuration();
configuration.host = "https://<tenantHostname>/performanceEnablement/v5";
WorkdayPerformanceEnablement client = new WorkdayPerformanceEnablement(configuration);
Long limit = 56L; // The maximum number of objects in a single response. The default and maximum is 1000.
Long offset = 56L; // The zero-based index of the first object in a response collection. The default is 0. Use offset with the limit parameter to control paging of a response collection. Example: If limit is 5 and offset is 9, the response returns a collection of 5 objects starting with the 10th object.
List<String> workers = Arrays.asList();
try {
MULTIPLEINSTANCEMODELREFERENCE result = client
.promptValues
.getInstances()
.limit(limit)
.offset(offset)
.workers(workers)
.execute();
System.out.println(result);
System.out.println(result.getTotal());
System.out.println(result.getData());
} catch (ApiException e) {
System.err.println("Exception when calling PromptValuesApi#getInstances");
System.err.println("Status code: " + e.getStatusCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
// Use .executeWithHttpInfo() to retrieve HTTP Status Code, Headers and Request
try {
ApiResponse<MULTIPLEINSTANCEMODELREFERENCE> response = client
.promptValues
.getInstances()
.limit(limit)
.offset(offset)
.workers(workers)
.executeWithHttpInfo();
System.out.println(response.getResponseBody());
System.out.println(response.getResponseHeaders());
System.out.println(response.getStatusCode());
System.out.println(response.getRoundTripTime());
System.out.println(response.getRequest());
} catch (ApiException e) {
System.err.println("Exception when calling PromptValuesApi#getInstances");
System.err.println("Status code: " + e.getStatusCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
All URIs are relative to https://<tenantHostname>/performanceEnablement/v5
Class | Method | HTTP request | Description |
---|---|---|---|
PromptValuesApi | getInstances | GET /values/workersToNotify/workersToNotify | |
PromptValuesApi | getInstances_0 | GET /values/feedbackTemplate/feedbackTemplate | |
PromptValuesApi | getInstances_1 | GET /values/feedbackOnWorker/feedbackOnWorker | |
PromptValuesApi | getInstances_2 | GET /values/feedbackResponder/feedbackResponder | |
PromptValuesApi | getInstances_3 | GET /values/relatesTo/relatesTo | |
FeedbackBadgesApi | getById | GET /feedbackBadges/{ID} | Retrieves a Feedback Badge with the specified ID. |
FeedbackBadgesApi | getCollection | GET /feedbackBadges | Retrieves a collection of active Feedback Badges. |
GiveRequestedFeedbackEventsApi | getCollectionFeedbackEvents | GET /giveRequestedFeedbackEvents | Retrieves a collection of feedback given events about the user that responded to the feedback request. |
GiveRequestedFeedbackEventsApi | getInstance | GET /giveRequestedFeedbackEvents/{ID} | Retrieves a single requested feedback given event instance with the specified ID of the user that responded to the feedback request. |
GiveRequestedFeedbackEventsApi | updateEvent | PATCH /giveRequestedFeedbackEvents/{ID} | Updates the Give Requested Feedback Event that matches the WID in the url, and the current authenticated user is a responder for the event. |
WorkersApi | createFeedbackEvent | POST /workers/{ID}/anytimeFeedbackEvents | Creates a single feedback given event instance about the specified worker. |
WorkersApi | getCollectionStaffing | GET /workers | Retrieves a collection of workers and current staffing information. |
WorkersApi | getFeedbackEvent | GET /workers/{ID}/anytimeFeedbackEvents/{subresourceID} | Retrieves a feedback given event instance with the specified ID. |
WorkersApi | getFeedbackEvents | GET /workers/{ID}/anytimeFeedbackEvents | Retrieves a collection of feedback given events about the specified worker. |
WorkersApi | getGoals | GET /workers/{ID}/goals | Retrieves a collection of goals for a specific worker. |
WorkersApi | getRequestedEvent | GET /workers/{ID}/requestedFeedbackOnWorkerEvents/{subresourceID} | Retrieves a single requested feedback event instance for the specified worker. |
WorkersApi | getRequestedFeedbackEvents | GET /workers/{ID}/requestedFeedbackOnWorkerEvents | Retrieves a collection of requested feedback events for the specified worker. |
WorkersApi | getSelfRequestedFeedback | GET /workers/{ID}/requestedFeedbackOnSelfEvents | Retrieves a collection of self-requested feedback events for the specified worker. |
WorkersApi | getSelfRequestedFeedbackEvent | GET /workers/{ID}/requestedFeedbackOnSelfEvents/{subresourceID} | Retrieves a single self-requested feedback event instance for the specified worker. |
WorkersApi | getSingleGoal | GET /workers/{ID}/goals/{subresourceID} | Retrieves a single goal instance for a specific worker. |
WorkersApi | getStaffingInformation | GET /workers/{ID} | Retrieves a collection of workers and current staffing information. |
WorkersApi | requestFeedbackOnSelfEvents | POST /workers/{ID}/requestedFeedbackOnSelfEvents | |
WorkersApi | requestFeedbackOnWorkerEvents | POST /workers/{ID}/requestedFeedbackOnWorkerEvents | Not applicable. |
- AboutWorkerD396fd5bffec1000100f44a5808f0005
- Action38ff08ab6736100010816009079d0126
- ActivityStreamableItemSummary88d272af423b100036fc19a90e210000
- ActivityStreamableItemSummary88d272af423b100036fc19a90e210000AllOf
- AssociatedReviewsSummary2c793e888bcd1000346e381955dd0000
- AssociatedReviewsSummary2c793e888bcd1000346e381955dd0000AllOf
- BadgeAfd6ac52d62510001357f891ccfd0003
- BusinessProcessParameters2b4c8a6ca069100035b85907ae2c0000
- BusinessProcessParameters4db9c44d36231000134c7a5b6f3b0000
- BusinessProcessParameters9708c966f04f10000e4ae9a03cf80001
- BusinessProcessParametersAfd6ac52d6251000117be546cb060000
- BusinessProcessParametersAfd6ac52d6251000117be546cb060000AllOf
- BusinessProcessParametersAfd6ac52d6251000117d0a60ed8b0000
- BusinessProcessParametersD396fd5bffec1000100f440bde4c0001
- Category43b30ba735b8100011ee4781a9d50146
- CategorySummary88d272af423b100036e57ea69d570000
- CategorySummary88d272af423b100036e57ea69d570000AllOf
- Comments86093b8a932f10001499f356ff83012e
- Comments86093b8a932f10001499f356ff83012eAllOf
- ContentType43b30ba735b8100011ee47993f11014a
- CountryAf21e47ff7c01000092ecf4d7ad30270
- CountryDataForLocationDataAf21e47ff7c01000092e0e4f9a22026e
- CountryDataForLocationDataAf21e47ff7c01000092e0e4f9a22026eAllOf
- CreatedBy88d272af423b100036b561a7784b0000
- ERRORMODELREFERENCE
- EventAttachmentsForToolbar43b30ba735b8100011ee4767246d0143
- EventAttachmentsForToolbar43b30ba735b8100011ee4767246d0143AllOf
- FACETSMODELREFERENCEInner
- FACETSMODELREFERENCEInnerValuesInner
- FeedbackAbout2b4c8a6ca069100035b85907ae2c0002
- FeedbackAbout4db9c44d36231000134c7b8eb3800003
- FeedbackBadgeDetail9eab868ca81410001402525d054211f7
- FeedbackBadgeDetail9eab868ca81410001402525d054211f7AllOf
- FeedbackBadgeIconD4d355b2d3db100020b8608b75250016
- FeedbackBadgesGetCollectionResponse
- FeedbackEventDetailAfd6ac52d62510001086b5c85cd50000
- FeedbackEventDetailAfd6ac52d62510001086b5c85cd50000AllOf
- FeedbackQuestionD396fd5bffec10001393481822cd0007
- FeedbackResponder2f703c317dc910001c16504848720001
- FeedbackRespondersFfdd5de32f7f100016dbb1b188d70000
- FeedbackRespondersFfdd5de32f7f100016dbb1b188d70000AllOf
- FeedbackResponse2f703c317dc910001bd2de83d1590000
- FeedbackResponse2f703c317dc910001bd2de83d1590000AllOf
- FeedbackTemplate2b4c8a6ca069100035b859a141200001
- FeedbackTemplate4db9c44d36231000134c7b8eb3800000
- For5d688bd57bb910001815ab3dd10024a9
- FromWorkerAfd6ac52d62510001357f891ccfd0001
- GetWorkersFeedbackAlsoAbout3ab333661034100010b5635b2f7a0302
- GetWorkersFeedbackAlsoAbout3ab333661034100010b5635b2f7a0302AllOf
- GigOpeningTalentTagAbe398d81e1e1000167d6197a9060000
- GigOpeningTalentTagAbe398d81e1e1000167d6197a9060000AllOf
- GiveRequestedFeedbackDetailsD396fd5bffec10000e3eba1a70440000
- GiveRequestedFeedbackDetailsD396fd5bffec10000e3eba1a70440000AllOf
- GiveRequestedFeedbackEventsGetCollectionFeedbackEventsResponse
- GoalsSummary2c793e888bcd100033e663075a2b0000
- GoalsSummary2c793e888bcd100033e663075a2b0000AllOf
- INSTANCEMODELREFERENCE
- JobDataForWorkerB8ac205877fd10000ea91719a02a00a2
- JobDataForWorkerB8ac205877fd10000ea91719a02a00a2AllOf
- JobProfileB8ac205877fd10000ea9174f73c500aa
- JobProfileJobViewFab4a151b24810000d511d61ee641262
- JobProfileJobViewFab4a151b24810000d511d61ee641262AllOf
- JobTypeB8ac205877fd10000ea91752f39c00ab
- JobTypeDataB8ac205877fd100005c3b50b74a30055
- JobTypeDataB8ac205877fd100005c3b50b74a30055AllOf
- JobWorkspaceData1005157e3d631000144205466a6c13d3
- JobWorkspaceData1005157e3d631000144205466a6c13d3AllOf
- LocationB8ac205877fd10000ea91737c7da00a5
- LocationDataJobView6d3eb084b4c410002b5fa13f0c9d0056
- LocationDataJobView6d3eb084b4c410002b5fa13f0c9d0056AllOf
- MULTIPLEINSTANCEMODELREFERENCE
- MultipleChoiceAnswers06c0300303a9100019828d5ca44a0000
- MultipleChoiceAnswers06c0300303a9100019828d5ca44a0000AllOf
- OverallBusinessProcess5d688bd57bb910001815ab49927724aa
- Person0ad147648b0a1000237bd486634a001a
- Person86093b8a932f10001499f38c72410130
- PersonDataViewBe343791f59d100028d6a277ca8a0017
- PersonDataViewBe343791f59d100028d6a277ca8a0017AllOf
- PossibleMultipleChoiceAnswers4c60c128c16510000a59980041610000
- PossibleMultipleChoiceAnswers4c60c128c16510000a59980041610000AllOf
- PrimaryJob352c3a97ecd51000353cba144c5b0042
- QuestionMultipleChoiceFfdd5de32f7f100016c2c1e768f40000
- QuestionMultipleChoiceFfdd5de32f7f100016c2c1e768f40000AllOf
- QuestionType544916c1cd75100006c4f105d3f60000
- QuestionTypeFfdd5de32f7f1000144df15bb77b0001
- RelatedFeedbackEvents9708c966f04f10000e1e9b7f9a5c0000
- RelatedFeedbackEvents9708c966f04f10000e1e9b7f9a5c0000AllOf
- RelatesTo9d12ad407f0f10001c3949add7d40000
- RelatesToC836a10b43ed10000beb5b92b4c10000
- RelatesToC836a10b43ed10000beb5b92b4c10000AllOf
- RelatesToSummary2c793e888bcd100034b42ada01b20000
- RelatesToSummary2c793e888bcd100034b42ada01b20000AllOf
- RequestedByD396fd5bffec1000100f44a5808f0006
- RequestedFeedbackCommentsD396fd5bffec10001393477e77870000
- RequestedFeedbackCommentsD396fd5bffec10001393477e77870000AllOf
- RequestedFeedbackOnSelfEventDetail19acce0101b310002e6bf03e1bbc0000
- RequestedFeedbackOnSelfEventDetail19acce0101b310002e6bf03e1bbc0000AllOf
- RequestedFeedbackOnWorkerEventDetail2b4c8a6ca069100035b8586e16c20000
- RequestedFeedbackOnWorkerEventDetail2b4c8a6ca069100035b8586e16c20000AllOf
- RequestedFeedbackQuestionFfdd5de32f7f1000144df0c21e640000
- RequestedFeedbackQuestionFfdd5de32f7f1000144df0c21e640000AllOf
- Status9df8579a128710001ac8e9879d1f0001
- SupervisoryOrganizationB8ac205877fd10000ea91743659800a7
- SupervisoryOrganizationJobViewFab4a151b24810000d29746fb7e21259
- SupervisoryOrganizationJobViewFab4a151b24810000d29746fb7e21259AllOf
- Supports9df8579a128710001ac8e9879d1f0000
- TalentTagFfdd5de32f7f100016c88e016ad20000
- TalentTagFfdd5de32f7f100016c88e016ad20000AllOf
- ToWorkerF4946919a39f10000f03207b1f230000
- TransactionStatus7457adcbe0fa1000089b63ab3a510000
- UploadedByB32ff437243510000e22e06470370160
- VALIDATIONERRORMODELREFERENCE
- VALIDATIONERRORMODELREFERENCEAllOf
- WorkSpace426ac445037110001b3eb91ddf6f0100
- Worker47e98fa91eee100017c2c78c80410000
- WorkerDataC2466b0778c610000d1936006720000e
- WorkerDataC2466b0778c610000d1936006720000eAllOf
- WorkerType3f78eeedc01d1000138d97d80e5a0000
- WorkersGetCollectionStaffingResponse
- WorkersGetFeedbackEventsResponse
- WorkersGetGoalsResponse
- WorkersGetRequestedFeedbackEventsResponse
- WorkersGetSelfRequestedFeedbackResponse
- WorkersToNotify9e478586f65410001035b6c26a4c0000
- WorkersToNotify9e478586f65410001035b6c26a4c0000AllOf
This Java package is automatically generated by Konfig