Manual Snapshot using web-api call

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered
Manual Snapshot using web-api call. I am trying to automate the end-2-end vdb provision using WebApi. I am currently stuck at building curl api for Oracle snaphost creation. Can anyone help?
Photo of Shilpa


  • 92 Points 75 badge 2x thumb

Posted 3 years ago

  • 0
  • 1
Photo of Gianpiero Piccolo

Gianpiero Piccolo

  • 2,336 Points 2k badge 2x thumb
Official Response
Hi Shilpa,

first of all, you have to create a session with the server and authenticate with it. All information about session is stored in a cookie file. You'll find an example here:

Second you have to use the sync api to make a snapshot:
POST /resources/json/delphix/database/{YOUR_DB_CONTAINER_REFERENCE}/sync
    "type": "OracleSyncParameters"

In order to know your db container reference, you could get the database list:
GET /resources/json/delphix/database

You can get all api doc into your browser:

Best Regrads.