Skip to content

Instantly share code, notes, and snippets.

@shadabshaukat
Last active May 25, 2022 02:15
Show Gist options
  • Select an option

  • Save shadabshaukat/c2e02ad02d9255daecf683baefd18549 to your computer and use it in GitHub Desktop.

Select an option

Save shadabshaukat/c2e02ad02d9255daecf683baefd18549 to your computer and use it in GitHub Desktop.
Create_Extract
curl -X "POST" "https://pxxxxxq.deployment.goldengate.us-ashburn-1.oci.oraclecloud.com/services/v2/extracts/<extract name>" \
 -H 'Content-Type: application/json' \
 -H 'Accept: application/json' \
 -u 'user:password' \
 -d $'{"config":["Extract <extract name>","ExtTrail <trail file name>","UseridAlias <alias>", "Table <schema>.<table>;"], "source":{"tranlogs":"integrated" },"credentials":{"alias":"<alias>"},"registration":{"optimized":false},"begin":"now","targets":[{"name":"<trail file name>"}]}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment