Methodology Simons
The Simple Simon API follows a consistent and uniform structure across all entities. The following example using the location table (representing a job site or work address) applies similarly to other available entities.
You can perform the ODATA operations on work addresses:
- POST: /locations : for inserting new location
- PUT: /locations/{id} : for updating a particular location with Id
- DELETE: /locations/{id} : for deleting a particular location with Id
- GET: /locations/{id} : for fetching a particular location with Id
- GET: /locations: for fetching list of locations.
You can supply filter parameters to narrow down the results, ODATA filtering can be applied to all the properties available. To gain more knowledge on how ODATA filtering works, click here.
For update and delete operations, you are required to provide the Id. Refer to the API documentation for supported filters.