Logo
Profit.co's Public API Documentation

Review Update

POST https://api.profit.co/app/dao/v6/reviews?a=updateReview&apiKey=<API_KEY>&accessKey=<ACCESS_KEY>

 

Body PARAM

Key Datatype Required Description 
a
string action type
apiKey
string Required: API key of your Profit.co Account
accessKey
string Required: Access key of your Profit.co Account
<
Curl
curl -X POST 'https://api.profit.co/app/dao/v6/reviews?a=updateReview&apiKey=<API_KEY>&accessKey=<ACCESS_KEY>?a=updateReview&apiKey=<API_KEY>&accessKey=<ACCESS_KEY>' -F '{"name"=>"reviewData", "value"=>"{\"reviewId\":136043,\"name\":\"Employee Performance Review Q3 - 2021\",\"description\":\"<p id=\\\"tinyEle\\\" class=\\\"\\\" data-after-content=\\\"\\\">Test Description</p>\",\"statusId\":1,\"statusName\":\"Self Assessment\",\"objectStatus\":\"0\",\"reviewType\":\"MASTEREMPLOYEE\",\"reviewPeriods\":[{\"calendarPeriodId\":21,\"calendarType\":\"Accounting\",\"periodName\":\"SEP-2021\",\"periodCode\":\"SEP-2021\",\"periodNumber\":9,\"fiscalYear\":\"FY 2021\",\"quarter\":\"Q3\",\"quarterStartDate\":\"2021-07-01 00:00:00\",\"quarterEndDate\":\"2021-09-30 00:00:00\",\"calendarId\":2014315,\"year\":2021,\"periodStatus\":\"Never Opened\",\"startDate\":\"2021-09-01 00:00:00\",\"endDate\":\"2021-09-30 00:00:00\",\"firmId\":254137,\"version\":0}],\"reviewStartDate\":\"2021-07-01 00:00:00\",\"reviewEndDate\":\"2021-09-30 00:00:00\",\"masterReviewStatusCode\":\"INITIATED\",\"initiatedBy\":2096509,\"autoClosedOn\":\"30/09/2021\",\"gracePeriod\":\"2\",\"ti\":200,\"tn\":\"Standard\",\"tc\":\"STANDARD\",\"iaae\":\"N\",\"reviewRatings\":[{\"ratingId\":5,\"name\":\"Outstanding\",\"isEnabled\":\"Y\",\"ratingScore\":5,\"colorCode\":\"#58bc8a\"},{\"ratingId\":4,\"name\":\"Commendable\",\"isEnabled\":\"Y\",\"ratingScore\":4,\"colorCode\":\"#9ace69\"},{\"ratingId\":3,\"name\":\"Satisfactory\",\"isEnabled\":\"Y\",\"ratingScore\":3,\"colorCode\":\"#ffeb3c\"},{\"ratingId\":2,\"name\":\"Need Improvements\",\"isEnabled\":\"Y\",\"ratingScore\":2,\"colorCode\":\"#febb50\"},{\"ratingId\":1,\"name\":\"Unsatisfactory\",\"isEnabled\":\"Y\",\"ratingScore\":1,\"colorCode\":\"#fc8b65\"}],\"ato\":[],\"rs\":\"ALL\",\"jb\":\"01/06/2021\",\"tuc\":3,\"rk\":\"338723t9v273P4RObKN0364uqzf3K7Bf\",\"srae\":\"Y\",\"sae\":\"Y\",\"esoce\":\"Y\",\"hsoce\":\"Y\",\"prp\":[{\"ne\":\"Self Assessment \",\"code\":\"SELF_ASSESSMENT\",\"ed\":\"2021-09-15 23:59:59\",\"version\":0,\"endDateObject\":\"2021-09-14T18:30:00.000Z\",\"fed\":\"2021-09-15T18:29:59.000Z\",\"formattedEd\":\"15/09/2021\",\"minDate\":\"2021-09-07T18:30:00.000Z\"},{\"ne\":\"Manager Assessment\",\"ie\":\"Y\",\"code\":\"MANAGER\",\"ed\":\"2021-09-20 23:59:59\",\"version\":0,\"endDateObject\":\"2021-09-19T18:30:00.000Z\",\"fed\":\"2021-09-20T18:29:59.000Z\",\"formattedEd\":\"20/09/2021\",\"minDate\":\"2021-09-07T18:30:00.000Z\"},{\"ne\":\"Peer Assessment\",\"ie\":\"Y\",\"code\":\"PEER_ASSESSMENT\",\"ed\":\"2021-09-25 23:59:59\",\"version\":0,\"endDateObject\":\"2021-09-24T18:30:00.000Z\",\"fed\":\"2021-09-25T18:29:59.000Z\",\"formattedEd\":\"25/09/2021\",\"minDate\":\"2021-09-07T18:30:00.000Z\"},{\"ne\":\"Secondary Reviewer Assessment\",\"pps\":[\"Manager's Manager\"],\"ie\":\"Y\",\"code\":\"SECONDARY_REVIEWER_ASSESSMENT\",\"ed\":\"2021-09-27 23:59:59\",\"version\":0,\"endDateObject\":\"2021-09-26T18:30:00.000Z\",\"fed\":\"2021-09-27T18:29:59.000Z\",\"formattedEd\":\"27/09/2021\",\"minDate\":\"2021-09-07T18:30:00.000Z\"},{\"ne\":\"Employee Sign-off\",\"pps\":[\"Employee\"],\"ie\":\"Y\",\"code\":\"EMPLOYEE_SIGN_OFF\",\"version\":0,\"minDate\":\"2021-09-07T18:30:00.000Z\"},{\"ne\":\"HR Sign-off\",\"pps\":[\"HR\"],\"ie\":\"Y\",\"code\":\"HR_SIGN_OFF\",\"nae\":\"N\",\"version\":0,\"minDate\":\"2021-09-07T18:30:00.000Z\"}],\"gds\":[],\"dbed\":2,\"rvsh\":\"Y\",\"extdys\":5,\"firmId\":254137,\"customAttributes\":[],\"createdBy\":2084198,\"lastUpdatedBy\":2084198,\"creationDate\":\"2021-09-07 22:28:34\",\"lastUpdateDate\":\"2021-09-07 22:28:34\",\"version\":1,\"tname\":\"Standard\",\"autoClosedOnObject\":\"2021-09-29T18:30:00.000Z\",\"tempAutoClosedOn\":\"30/09/2021\",\"formatedAutoClosedOn\":\"30/09/2021\",\"periodName\":[{\"periodName\":\"Q3-2021\",\"periodId\":21,\"periodCode\":\"SEP-2021\"}],\"tmpName\":\"All\",\"isAutoCloseEnabled\":true,\"schedulerLevels\":[{\"ne\":\"Self Assessment \",\"code\":\"SELF_ASSESSMENT\",\"ed\":\"2021-09-15 23:59:59\",\"version\":0,\"endDateObject\":\"2021-09-14T18:30:00.000Z\",\"fed\":\"2021-09-15T18:29:59.000Z\",\"formattedEd\":\"15/09/2021\",\"minDate\":\"2021-09-07T18:30:00.000Z\"},{\"ne\":\"Manager Assessment\",\"ie\":\"Y\",\"code\":\"MANAGER\",\"ed\":\"2021-09-20 23:59:59\",\"version\":0,\"endDateObject\":\"2021-09-19T18:30:00.000Z\",\"fed\":\"2021-09-20T18:29:59.000Z\",\"formattedEd\":\"20/09/2021\",\"minDate\":\"2021-09-07T18:30:00.000Z\"},{\"ne\":\"Peer Assessment\",\"ie\":\"Y\",\"code\":\"PEER_ASSESSMENT\",\"ed\":\"2021-09-25 23:59:59\",\"version\":0,\"endDateObject\":\"2021-09-24T18:30:00.000Z\",\"fed\":\"2021-09-25T18:29:59.000Z\",\"formattedEd\":\"25/09/2021\",\"minDate\":\"2021-09-07T18:30:00.000Z\"},{\"ne\":\"Secondary Reviewer Assessment\",\"pps\":[\"Manager's Manager\"],\"ie\":\"Y\",\"code\":\"SECONDARY_REVIEWER_ASSESSMENT\",\"ed\":\"2021-09-27 23:59:59\",\"version\":0,\"endDateObject\":\"2021-09-26T18:30:00.000Z\",\"fed\":\"2021-09-27T18:29:59.000Z\",\"formattedEd\":\"27/09/2021\",\"minDate\":\"2021-09-07T18:30:00.000Z\"},{\"ne\":\"Employee Sign-off\",\"pps\":[\"Employee\"],\"ie\":\"Y\",\"code\":\"EMPLOYEE_SIGN_OFF\",\"version\":0,\"minDate\":\"2021-09-07T18:30:00.000Z\"},{\"ne\":\"HR Sign-off\",\"pps\":[\"HR\"],\"ie\":\"Y\",\"code\":\"HR_SIGN_OFF\",\"nae\":\"N\",\"version\":0,\"minDate\":\"2021-09-07T18:30:00.000Z\"}]}", "datatype"=>"string"}=' -F '{"name"=>"mode", "value"=>"UPDATE", "datatype"=>"string"}=' -F '{"name"=>"modifiedFields", "value"=>"[\"autoClosedOn\",\"gracePeriod\"]", "datatype"=>"string"}='

ENDPOINTS