The Optimo API test view can be used to become more familiar with how the API works. It can be used online, or you can download the sample code.
Step 1: As a user in Pathfinder, log in, add some cases and solve some scenarios
This step creates some data in Pathfinder that you can use in later steps:
The sandbox URL is: https://sandbox.optimopathfinder.com.au/
If you have not been given a log in by Optimo Financial, please Contact Optimo Financial , and request a developer log in to the sandbox (do not use the 'Set up my log in' button on the log in page, because that log in will not give you access to the API test view)
The first time you log in, if you're prompted to enter some fake credit card details:
Click add ‘Payment method’
Fill in the credit cards details here How to 'buy' more cases in the Pathfinder sandbox
Then you can click the Home (on the header)
Add a case:
On the home page, click the Add new case button (if you are prompted to pay or enter credit card details, please see How to 'buy' more cases in the Pathfinder sandbox).
At the start step fill in some sample data (see How to use the sample data in Pathfinder). You can also fill in a case from scratch, if you prefer.
Solve a scenario in your case
For details, see How to solve a scenario to get results
(Optional) Solve multiple scenarios in a case, or add more cases (if you're prompted to pay when you add more cases, see How to 'buy' more cases in the Pathfinder sandbox)
Once you have at least one case with one set of results, go to the next steps to use the Optimo API test view.
Step 2: Access the Optimo API test view
There are two ways to access the Optimo API test view:
Online - The sandbox URL is here: https://sandbox.optimopathfinder.com.au/Service/ApiTest
Download the sample code - This gives you the code so you can have a better view of how to call our API functions. For details, see Downloading the Optimo API Sample Code
Step 3: Navigating in the Optimo API test view
'Log in' tab
When you go to the test view online or download the sample data, the sample application will look like this:
To get started, you should fill it in as follows:
Email and password: You should use the sample log in that you used to create cases in the previous step. If this isn't working, please Contact Optimo Financial.
When you log in, you will be given a session id.
For more details about the functions on this tab, see Login.
One you have logged in and have a session ID, you can go to the Cases tab and select a case:
Go to the Cases tab
Click Get list of cases
Select a case from the list
If you can't see any cases, you need to add some cases in the sandbox, as described in the earlier steps
Once you selected a case, choose a scenario that has results:
Go to the Scenarios tab
Select a scenario from the list
If you can't see any scenarios, you need to solve the scenario in the sample case, as described in the earlier steps
Once you have selected a case and scenario, you can see all the results data for the strategy summary and detailed reports for your selected sample case (which may be a sub-set of the data that is avaialble in Pathfinder). This data can be called using the following functions: