Web Service Aggregation Failure with Query parameter q in URL

Hello Sailors,

I’m onboarding Oracle HCM as web service application in ISC. I need to onboard workers only from MX country code. I’m getting the expected response in Postman using the query parameter in URL: /workers?q=workRelationships.LegislationCode='MX'&fields=…... However, when using the same URL in ISC Account aggregation is failing with the error Message: 400 : Bad Request : URL request parameter q with value workRelationships.LegislationCode='MX' is not

valid. Has anyone faced similar issue with parameter q? Please advise.

Thanks,

Animesh

Have you tried escaping or encoding the single quotes?

I would expect the URL be encoded by ISC, but I suggest you try
%27MX%27 in place of ’MX’

I would try eq instead of = in the query string

‘ eq ‘, without the quotes, obvs

Hi @jainanimesh Did you get this sorted?

Hi @jainanimesh Did you get this sorted?

Thank you everyone for your help and apologies for replying late here. This got fixed - I missed a header here, my mistake.

Hi @jainanimesh Could you please include the details of the fix to assist people who may have the same issue in the future?

Sure. I missed REST-Framework-Version:4 in headers and therefore was encountring the mentioned error.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.