We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
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

Service Connection - Define by Endpoint - Nested Child Resource Attribute- usage in query parameter

Accepted answer
16
Views
4
Comments
edited Sep 28, 2020 7:34AM in Visual Builder 4 comments

Summary

Service Connection - REST API - Nested Child Resource Attribute- usage in query parameter not working with REST-Framework-Vresion:4

Content

Hi All,

Im trying to use a nested child resource attribute as a query parameter, to create a service connection, but its failing with below error.

Tried passing REST-Framework-Version = 4 as both static & dynamic header, but its not working.

REST API used:

https://xxxx.fa.us2.oraclecloud.com:443/hcmRestApi/resources/11.13.18.05/workers?q=emails.EmailAddress='[email protected]'&fields=PersonNumber&onlyData=true&links=self

Error:

{
    "type": "HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1",
    "status": 400,
    "title": "Bad Request",
    "detail": "{\"title\":\"Bad Request\",\"status\":\"400\",\"o:errorDetails\":[{\"detail\":\"Failed to build ViewCriteria from expression \\\"emails:[email protected]\\\" using view object Worker. An unexpected expression token is found.\",\"o:errorCode\":\"29140\"}]}"

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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