GET https://sudomain.cobot.me/api/booking_credits
This returns the number of remaining booking credits for a member.
GET https://co-up.cobot.me/api/booking_credits { "<resource_id>": { "total_hours": "10", "total_amount": "50.0", "hours_remaining": "8.5", "amount_remaining": "50.0", "resource_name": "Room", "price_per_hour": "15.0" } }
GET https://subdomain.cobot.me/api/memberships/:membership_id/booking_credits
This returns the number of remaining booking credits for a member.
GET https://co-up.cobot.me/api/memberships/4305876/booking_credits
Response:
{ "<resource_id>": { "total_hours": "10", "total_amount": "50.0", "hours_remaining": "8.5", "amount_remaining": "50.0", "resource_name": "Room", "price_per_hour": "15.0" } }