Payroll Relationships REST API — Cloud Customer Connect
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

Payroll Relationships REST API

Summary:

Here is the endpoint we are calling

/hcmRestApi/resources/11.13.18.05/payrollRelationships?q=PersonNumber='10358'&onlyData=true&expand=payrollAssignments.assignedPayrolls

It is pulling up all of this employee's Pending worker and Employee Payroll relationship.

I've tried using effectiveDate as today's date. It is still pulling all of the records.

Is this because his Pending Worker Payroll relationship doesn't have any end-date (base of the JSON payload response)?

{

    "items": [

        {

            "PayrollRelationshipId": 300000136962496,

            "PayrollRelationshipNumber": "10358-1",

            "StartDate": "2023-02-20",

            "EndDate": "4712-12-31",

            "PersonNumber": "10358",

            "Country": "US",

            "PartyId": 300000136875718,

            "PartyNumber": "483921",

            "EffectiveEndDate": "4712-12-31",

            "EffectiveStartDate": "2023-02-20",

            "OverridingPeriodId": null,

            "payrollAssignments": [

                {

                    "RelationshipGroupId": 300000136962501,

                    "AssignmentNumber": "E10358",

                    "EffectiveStartDate": "2023-08-24",

                    "EffectiveEndDate": "4712-12-31",

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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