我正在使用SAP Success Factors API申请休假。我正在使用有效负载调用https://hostname/odata/v2/EmployeeTime api
{
"__metadata":{
"uri":"hostname:443/odata/v2/EmployeeTime('frieszilla123rhetala1')",
"type":"SFOData.EmployeeTime"
},
"externalCode":"frieszilla123rhetala1",
"endDate":"/Date(1549579655649)/",
"loaActualReturnDate":null,
"loaExpectedReturnDate":null,
"cust_deliverytype":null,
"loaStartJobInfoId":null,
"startDate":"/Date(1549579655649)/",
"startTime":null,
"loaEndJobInfoId":null,
"approvalStatus":"PENDING",
"cust_notificationdate":null,
"undeterminedEndDate":false,
"userId":"sfadmin",
"recurrenceGroup":null,
"cust_expectedweek":null,
"fractionQuantity":"1",
"endTime":null,
"userIdNav":{
"__deferred":{
"uri":"hostname:443/odata/v2/EmployeeTime('userid')/userIdNav"
}
},
"timeTypeNav":{
"__deferred":{
"uri":"hostname:443/odata/v2/EmployeeTime('TT_VAC_REC')/timeTypeNav"
}
}
}
这使我可以申请状态为待处理的请假,但是对于批准人,它不会在他们的请求列表中显示请假请求。并且(已通过api申请了请假的)用户在其门户中被选中时,请假请求显示为待处理但未分配批准人。