Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
- Add this link to connect with the app.Base url
All feedback data from different tabs
- Then use these different APIs to get data from relevant tabs from my feedback page. Endpoints
- /api/1/feedback/given
- /api/1/feedback/received
- /api/1/feedback/shared
- /api/1/feedback/notes
Specific/filtered data
Above APIs would help you to get the entire data from different tabs which is kind of a generic feedback data. As my feedback page within the app has a different filter to search for specific data, so the REST APIs too. Use following API & parameters to fetch specific feedback data.
- /api/1/feedback/shared
Query Parameters
These REST APIs follow the same structure that is displayed within the app under 'My Feedback' page.
Parameter | Description | Input Parameter | Input type |
---|---|---|---|
perspective | This is a mandatory parameter that needs to be used after UpRaise key. This parameter provides the data from the specific user's perspective. | Jira Userkey (If the username has changed, you will need to use the original username) | String |
startAt | The index of the first item returned in the page of results. | Start record from | Int |
maxResults | The maximum number of |
feedback per request. Default maxResults is 20 and maximum limit is 50 per request. | Max results on page | Int |
creator |
Get feedback by creators. You can retrieve data by using a comma-separated list of multiple creators. | Username | Strand | |
isLast | Indicates whether the page returned is the last one (Optional). | End record at | Int |
receiver |
Get feedback by receivers.You can retrieve data by using a comma-separated list of multiple |
receivers. | username | String |
resource |
You can search for feedback shared on Jira issue/s. You can retrieve data by using a comma-separated list of multiple Jira issue ids. | Jira issue ID | String | |
label | Retrieves classified feedback on the basis of given label ids. Label ids are exposed in JSON, can be picked up from there and used in the APIs. You can retrieve data by using a comma-separated list of multiple label ids. | Id | Int |
tag | Retrieves feedback classified on the basis of given tag ids. Tag ids are exposed in JSON, can be picked up from there and used in the APIs. You can retrieve data by using a comma-separated list of multiple tag ids. | Id | Int |
from | Retrieves data from a specific date. | Date | Date (only dd/ |
mmm/yy or dd/mmm/yyyy) | |||
to | Retrieves data to a specific date. | Date | Date (only dd/ |
mmm/yy or dd/mmm/yyyy) | |
toModified | Retrieves data modified/edited |
to a specific date. | Date | Date (only dd/ |
mmm/yy or dd/mmm/yyyy) | |
fromModified | Retrieves data modified/edited |
from a specific date. | Date | Date (only dd/ |
mmm/yy or dd/mmm/yyyy) |
Warning | ||
---|---|---|
| ||
All the parameters are case sensitive. |
Feedback comments
In Employee Success, you can add comments on different feedback. |
|
- /api/1/feedback-comments
Super admin view
Employee Success has a super admin view option on my feedback page >> shared tab. To make use of super admin view use following API and its parameters from the table.
- /api/1/feedback/shared
Parameter | Description | Input Parameter | Input type |
---|---|---|---|
SuperAdminView | Retrieves data from super admin view available on shared tab withing my feedback page of Employee Success. | true / false | boolean |
Info | ||
---|---|---|
| ||
Along with these parameters, you need to use the Employee Success API authentication key that needs to be generated is available from the app. Read How to generate an access API authentication key from Employee Success?. |
How to use these APIs?
Syntax - https://atlassian-connect.upraise.io/(relevant API)/(parameter/s)?key=(Employee Success authentication key)
Example -Programmatically hit the API endpoints with valid & correct data, the server should return data in JSON format.
https://atlassian-connect.upraise.io/api/1/feedback/given?key=GRUPO6HRFJZRXIYK3LKNLVBWLEOMYNXSUINCTD5TDWBGYHKTEJKUOM======&receiver=admin&tag=123
Other Key-value pairs
Above are the different parameters those you can use with given APIs. However, in the data, there are other important parameters and their values can be used in the APIs to get specific data. Eg. If you are using an API for comments, you will need the exact feedback id to fetch comments in the other system. So the feedback id here is the KVP that you may want to make use of. Let us what other KVPs are there.
This parameter receives feedback id or label id depending on the other parameters.
<yourkey>&perspective=<youruser>&SuperAdminView=True
Info |
---|
Note that, all APIs have been written to replicate behavior of the actual app. Recommendation - Following steps will get all your company data (for Continuous feedback) from Employee Success. You can store it in your own DB & then do the processing.
|
Response Data
Code Block | ||||
---|---|---|---|---|
| ||||
{ "id":2689,
"message":"John,\r\n\r\nGlad to see that you have picked up the FX development fairly quickly. In a short span of time, you've become a reliable & go-to person for FX. \r\nHope to see you get better as you learn more about the product & the relevant frameworks.\r\n\r\nBest,\r\nMary",
"creator":"Mary",
"receiver":"John",
"sharedWith":"All Users",
"feedbackTag":{
"id":71,
"name":"Fantastic work",
"description":"High quality performance that sets the high benchmark for others."
},
"labels":[
{
"id":1995,
"name":"commitment"
}
],
"resource":null,
"feedbackUserSharing":null,
"feedbackTeamSharing":[
],
"created":"2018-05-30T04:31:35 +0000",
"modified":"2018-05-30T04:31:35 +0000"
} |
On this page
Table of Contents |
---|
In this section
Child pages (Children Display) | ||
---|---|---|
|