You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Absence record details using REST API

Received Response
33
Views
2
Comments

Summary:

Hi All,

I am fetching absence record details using REST API. From employees account i am able to see 13 balances for a particular plan but from rest API i'm seeing Used-1 and reamaining - 0 for that plan.

The requirement is how many leaves are taken by emoployee and remaining balances through REST API.


Content (required):

Using this API

/hcmRestApi/resources/11.13.18.05/absences?q=personNumber="XXXX"


Response:

"absenceEntitlements": [

                {

                    "entitlementId": 300000019054791,

                    "personAbsenceEntryId": 300000019054743,

                    "absencePlanId": 300000002397745,

                    "absencePlanName": "Sick Leave",

                    "units": 1.0,

                    "unitOfMeasure": "D",

                    "absencePlanUOMMeaning": "Days",

                    "payFactor": 100.000,

                    "personId": 300000011053412,

                    "activityStartDate": "2023-09-18T00:00:00+00:00",

                    "activityEndDate": "2023-09-18T00:00:00+00:00",

                    "activityCd": null,

                    "activityCdMeaning": null,

                    "source": "ORA_ANC_SYSTEM",

                    "sourceCdMeaning": "Calculated entitlement",

                    "calculationDate": "2023-09-18T08:30:00+00:00",

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!