# L2 Operations related to L2 level of integration ## Search Classes - [GET /classes](https://developer.egym.com/mms-blueprints/canonical-classes/l2/searchclasses.md): This operation searches GroupX Classes by date range. It returns only brief information about GroupX Classes. #### Additional contracts N/A ## Get Class Details - [GET /classes/{classId}](https://developer.egym.com/mms-blueprints/canonical-classes/l2/getclassdetails.md): This operation returns all detailed information about GroupX Class. NOTE: !Professional Services only Implementation of this operation is mandatory. In that case if Partner API does not implement it then this implementation should be introduced on Anti-corruption layer. It could be based on cached data of getClasses call as a possible solution. #### Additional Contracts 1. Parameter exerciserId is supported only if metaOption::bookingEnabled = true. If booking is disabled, then 400 status code must be returned when exerciserId is specified. 2. If metaOption::bookingEnabled = true, parameter exerciserId is optional. If it is specified, then GroupXClassAttendeeBookingDetails is provided in response. If exerciserId is not specified, then response has no attendee booking details. ## Get Class Details - [GET /classes/{classId}](https://developer.egym.com/mms-blueprints/canonical-classes/l3/getclassdetails.md): This operation returns all detailed information about GroupX Class. NOTE: !Professional Services only Implementation of this operation is mandatory. In that case if Partner API does not implement it then this implementation should be introduced on Anti-corruption layer. It could be based on cached data of getClasses call as a possible solution. #### Additional Contracts 1. Parameter exerciserId is supported only if metaOption::bookingEnabled = true. If booking is disabled, then 400 status code must be returned when exerciserId is specified. 2. If metaOption::bookingEnabled = true, parameter exerciserId is optional. If it is specified, then GroupXClassAttendeeBookingDetails is provided in response. If exerciserId is not specified, then response has no attendee booking details.