OPTIMO APIs
If you are not a big fan of the OPTIMO user interfaces and fancy simulating the experience in your own environment or if you are looking to integrate all or part of the OPTIMO services into another application, then you are at the right place! This is the gateway to the OPTIMO API reference, your guide to using the OPTIMO APIs.
The OPTIMO V4 API follows the open-source standard json:api and offers comprehensive access to the motherlode of data within an OPTIMO client system. The developers at OPTIMO use these APIs as the primary data access methods for OPTIMO V4 applications, which means that any operation achievable through OPTIMO applications can also be replicated using the OPTIMO V4 APIs; quite a generous deal!
For Dummies
When interacting with the OPTIMO APIs, you use HTTP messages known as requests. If you are new to this, it is helpful to understand four key components of an API request: endpoints, methods, headers, and parameters. Familiarizing yourself with these basics will ensure we are on the same page as we move forward.
Endpoints
An API endpoint is a specific path that uniquely identifies a resource in OPTIMO, such as a booking or user account. The exact path of the endpoint varies based on the resource type and the OPTIMO system you are using.
For instance, the following endpoint returns a list of booking records in the system.
https://onlocation.optimo.training/PLAY/restapi/api/V4.1/bookings
HTTP Methods
An HTTP method defines the type of action to be performed on the resource identified by your endpoint. For instance, the GET method retrieves data associated with the endpoint, the POST method creates a new resource of that type, the DELETE method removes a specific resource, and so forth. The table below sheds light on these methods.