5 Planning Web Service
This section describes the planning optimiser web service. Using the web service, clients submit an instance (in the form of a plan request object) to the optimiser. The instance is optimised in the background and clients can query its state as it runs. When optimisation of the scenario is complete clients can fetch the results.
The web service runs over HTTP/1.1 and has the following endpoints:
- submit-plan – used to submit a new planning optimisation task.
- query-plan – used to query the state of a previously submitted planning optimisation task.
- cancel-plan – used to cancel a previously submitted planning optimisation task.
- fetch-plan – used to retrieve the results of a completed planning optimisation task.
- check-plan – used to validate the input to the planning optimiser.
Opturion will provide authentication credentials for use with the web service if required.

