Authorization: Bearer ********************curl --location --request GET 'https://developer-sandbox.dragonpass.com/api/v2/resources/fitness/N00001/schedule?startDate=2025-10-01&endDate=2025-10-02&fallbackAllowed=true&expand=price' \
--header 'X-Program-ID;' \
--header 'X-Request-ID;' \
--header 'Authorization: Bearer <token>'{
"code": 0,
"data": {
"resourceId": "F00001",
"resourceName": "DragonPass Fitness Club",
"schedules": [
{
"date": "2025-10-01",
"optionList": [
{
"optionId": "F00001-01",
"optionName": "Hatha Yoga",
"optionType": 2,
"startTime": "10:00",
"endTime": "11:00",
"price": {
"currency": "USD",
"lastUpdatedTime": "2025-10-01T10:00:00+00:00",
"pricingMode": 1,
"pricing": {
"basePrice": 25.0,
"prebookingFee": null
}
}
},
{
"optionId": "F00001-02",
"optionName": "Hatha Yoga",
"optionType": 2,
"startTime": "11:00",
"endTime": "12:00",
"price": {
"currency": "USD",
"lastUpdatedTime": "2025-10-01T10:00:00+00:00",
"pricingMode": 1,
"pricing": {
"basePrice": 25.0,
"prebookingFee": null
}
}
},
{
"optionId": "F00001-dayPass",
"optionName": "Day Pass",
"optionType": 1,
"startTime": "08:00",
"endTime": "20:00",
"price": {
"currency": "USD",
"lastUpdatedTime": "2025-10-01T10:00:00+00:00",
"pricingMode": 1,
"pricing": {
"basePrice": 10.0,
"prebookingFee": null
}
}
}
]
}
]
}
}