i too have same issue i followed the steps which you given above for approve/reject now its working ,i can able to approve thanks for that Frist,Still the same bug ?or we need to reassign each and every time to approve or reject leave request?
Is there is any endpoint like rest API to achieve approve or reject without using console ..pls send us detail of rest API endpoint if you have any ,i am not able to find endpoint in dynamic document regard approve or reject request
This is the request we are using for apply leave request
post method
<root url>/data/MyLeaveRequests
body
{
"dataAreaId": "usmf",
"LeaveType": "Vacation",
"LeaveDate": "2020-09-02T12:00:00Z",
"ReasonCodeId": "",
"PersonnelNumber": "<PersonnelNumber>",
"Comment": "Going for vacation",
"Amount": 8,
"HalfDayDefinition": "None"
}
Post
For submite request
<root url>/data/MyLeaveRequests(RequestId='<RequestId>', LeaveType='Vacation', LeaveDate=2020-05-12T12:00:00Z, dataAreaId='USMF')/Microsoft.Dynamics.DataEntities.submit
I am in need of how to approve or reject leave request of my team using rest endpoint