Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

GET /reconcile

Gets the number of training sessions qty purchased and remaining for a given user.  Eventually, we will add more services other than just training sessions.userId and serviceName. 

GET https://api.club-os.com/reconcile?clubLocationId=[clubLocationId]&userId=[userId]&serviceName=[serviceName]

...

VariableTypeDescription
clubLocationIdIntegerThe Club OS unique id for the club location you wish to access. Club OS will provide these to you.
userIdIntegerThe Club OS unique id for the user you are reconciling.
serviceNameStringEither 'Personal Training' or 'Group Training'.

Response

MessageDescription
Qty PurchasedThe number of sessions qty of the service that was purchased.
Qty RemainingThe number qty of sessions the service remaining.