2 Replies Latest reply: Feb 24, 2017 1:50 AM by Wolf Biber RSS

    How to use a single REST Connection with several Data Endpoint?

    Wolf Biber

      Good evening,

      I don't know if it's a bug or I'm doing something wrong.

       

      When I'm setting the URL parameter in a WITH CONNECTION no Data is returned, except the Key

       

      i.e. working:

       

      RestConnectorMasterTable:

      SQL SELECT

      id,

      name,

      creationDate

      FROM JSON (wrap on) "root" PK "__KEY_root"

      WITH CONNECTION (

             QUERY "authorization" "Bearer",

             QUERY "access_token" "$(vTOKEN)"

          );

       

       

      i.e. not working

       

      RestConnectorMasterTable:

      SQL SELECT

      id,

      name,

      creationDate

      FROM JSON (wrap on) "root" PK "__KEY_root"

      WITH CONNECTION (

          URL "https://staging.exampleurl.de/v1/organizations/589b07b21d4530f2987cfd70",

             QUERY "authorization" "Bearer",

             QUERY "access_token" "$(vTOKEN)"

          );

       

      Can you give me some suggestions about what i'm doing wrong?

       

      Thx a lot and greeting.

      Wolf