/reconcile

GET /reconcile

Gets the qty purchased and remaining for a given userId and serviceName. 

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

Parameters

The following fields must be included as parameters in the URL of the request.

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 qty of the service that was purchased.
Qty RemainingThe qty of the service remaining.