6.5.1 Deployment of REST Web Service

REST web service is automatically available after the successful installation of the application.

The REST API contract is available at https://docs.oracle.com/cd/E88860_01/pcdotherguides.htm.

The name of the contract is PricingAPI.json. We recommend to go through the contract thoroughly before accessing the web service.

To create the client stub, visit the website: https://editor.swagger.io/

Users can paste the contract JSON into the swagger editor and can generate the client stub in any technology available on the above website.

Edit the parameter “host": "ip:port" and enter the IP Address and the Port Number where the application is installed.

Additionally, replace the context in the parameter "basePath": "/context/rest-api/pcd" with the application context.