Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Externalization of Snapshot in RESTful service call

3596198Feb 19 2020 — edited Feb 20 2020

Hi, I am trying to externalize a WHERE clause in a snapshot and then pass the parameter via a restful service.

Current Configuration:

Setup Snapshot:

  1. Data Store is an oracle database connection
  2. Table Selection is 'Select Table or View'
  3. Column Selection all selected
  4. Filter Options - none at the moment.
  5. Sampling Options: All

pastedImage_0.png

Job:

pastedImage_6.png

pastedImage_5.png

Web Service Call:

POST: http://<servername>:<port>/edq/jobs/run

{

"project":"Ross Development Project",

"job":"Alias",

"overrides":[

  {

     "name":"run\_id",

     "value":"RUN\_ID = 924"

  }

]

}

or

{

"project":"Ross Development Project",

"job":"Alias",

"run_id":"RUN_ID = 924"

}

or

{

"project":"Ross Development Project",

"job":"Alias",

"properties":[

  { 

     "name":"run\_id",

     "value":"RUN\_ID = 924"

  }

]

}

Result:

  • All rows are being returned (WHERE clause was not applied).

Where am I going wrong? Assuming the Setup of the Snapshot?

Thanks,

Ross

Message was edited by: 3596198 added additional request options tried

This post has been answered by Mike-Matthews-Oracle on Feb 19 2020
Jump to Answer

Comments

Post Details

Added on Feb 19 2020
2 comments
233 views