Deploying SampleRestAPI for On-Premises

To set up an File provider- XML format deployment in Gateway using rest services, a REST API, SampleRestAPI.war, is delivered in Gateway that you can deploy and use for testing or demonstration purposes. The following rest services are available for project data and master data:

  • GET project (/xmldata/project)
  • POST project (/xmldata/project)
  • GET global (/xmldata/global)
  • POST global (/xmldata/global)

To deploy the delivered SampleRestAPI:

  1. Download and install Primavera Gateway from the Oracle E-delivery Software Cloud.
  2. Go to the <Primavera_Gateway_home>/providers/fileprovider/samplerestapi/output folder
  3. Select the fileprovidersamplerestapi.war file.
  4. Log in to the application server of your choice or WebLogic with administration privileges.
  5. Create a WebLogic domain and deploy fileprovidersamplerestapi.war.