dambel

دمبل

shevron
ورود | ثبت نام

API Docs / gyms / working-periods / gym working period resource



Gym Working Period Resource

Represents a working period for a gym, including day, gender, opening/closing times, and exception details.


Schema

FieldTypeDescriptionExample
idintUnique identifier for the working period123
gym_idintID of the gym123
daystringDay of the week"monday"
genderstringGender restriction (men, women, genderless)"women"
opens_atstringOpening time (HH:mm)"07:00"
closes_atstringClosing time (HH:mm)"23:30"
descriptionstringDescription (nullable)"Some desc"
is_exceptionboolWhether this is for an exceptional datefalse
exception_start_datestringStart date of the exception (nullable)null
exception_end_datestringEnd date of the exception (nullable)null

Example

{
  "id": 123,
  "gym_id": 123,
  "day": "monday",
  "gender": "women",
  "opens_at": "07:00",
  "closes_at": "23:30",
  "description": "Some desc",
  "is_exception": false,
  "exception_start_date": null,
  "exception_end_date": null
}
footer wave
logo

دمبل، دنیای هوشمند ورزش و تغذیه

LinkedinInstagramXYoutube