Migrated from Redmine #939 | Author: Tomislav Ceh
Status: New | Priority: Normal | Created: 2022-10-07
We are currently looking at the difference between V1 and V2 API’s for Simplybook and see that in V2 there is no specific endpoint to get Classes. However when looking and the admin/services endpoint with see both services and classes displayed. The issue is with the id assigned to the classes.
When creating a class in simplybook an id is set and displayed in the url. This can then be used within the getClasses V1 API call to get what is needed. From what I can see this is unavailable in V2.
Secondly the V2 admin/services endpoint that displays both sets of data together contains a different id against the class then what is displayed in the url.
Is there a way to gather a mapping or such so that when filtering the V2 API the ids gathered can be used to get a specific payload.