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

Getting error in absence plan balance REST API

Accepted answer
12
Views
1
Comments

Summary:

I'm trying to get projected balance via planBalances REST endpoint.

Content (required):

I'm trying to get projected balance via planBalances REST endpoint. But getting error in BalanceCalculationDate variable.If someomne has encountered this issue please let me know where i am doing mistake.

REST API url:

/hcmRestApi/resources/11.13.18.05/planBalances?q=personId=300000011053412;planId=300000002397745;balanceCalculationDate="2023-12-01"


Getting below error:

{

    "title": "Bad Request",

    "status": "400",

    "o:errorDetails": [

        {

            "detail": "Failed to build ViewCriteria from expression \"personId=300000011053412;planId=300000002397745;balanceCalculationDate=\"2023-12-01\"\" using view object AbsencePerPlanEnrollment. An unexpected expression token is found.",

            "o:errorCode": "29140"

        }

    ]

}

Version (include the version you are using, if applicable):

REST-Framework-Version : 4

Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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