def get(self, org_id, location_id, role_id, schedule_id):
response = {
API_ENVELOPE: {},
"resources":
["preferences", "shifts", "timeclocks", "timeoffrequests"],
}
schedule = Schedule2.query.get_or_404(schedule_id)
schedule = marshal(schedule, schedule_fields)
response[API_ENVELOPE] = schedule
return response
评论列表
文章目录