Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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

Can't Fetch a Business Object with a Subset of Items

edited Oct 4, 2019 11:51PM in Visual Builder 8 comments

Content

Hi, experts,

I need to fetch an object data and all the objects data linked to it.

I'm trying to fetch an object with a linked object as in the attached image.

Used the fields parameter as in chapter 4 of the following tutorial:

https://docs.oracle.com/en/cloud/paas/app-builder-cloud/consume-rest/accessing-business-objects-using-rest-apis.pdf

 

But when I send this request with "fields=ano;FeriadoAno:dataFeriado":

I set REST-Framework-Version to 6

https://oic-nonononono.integration.ocp.oraclecloud.com:443/ic/builder/design/SL_Task_List/1.0/resources/data/FeriadoAno?fields=ano;FeriadoAno:dataFeriado

Got this error:

{
    "title": "Bad Request",
    "status": "400",
    "o:errorDetails": [
        {
            "detail": "URL request parameter fields with value ano;FeriadoAno:dataFeriado is not valid.",

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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