{"items":[{"type":"link","label":"Clubfit Software API (BETA)","link":"/openapi","routeSlug":"/openapi","content":{"contentType":"overview","meta":{"name":"Clubfit Software API (BETA)"},"children":[{"nodeType":"container","panels":[{"title":"Download OpenAPI description","titleTranslationKey":"download.description.title","children":[{"kind":"download","label":"openapi.json","url":"/_bundle/openapi.json?download"},{"kind":"download","label":"openapi.yaml","url":"/_bundle/openapi.yaml?download"}]},{"title":"Overview","titleTranslationKey":"info.title","children":[{"kind":"externallink","title":"URL","titleTranslationKey":"info.contact.url","label":"https://www.clubfitsoftware.com.au","url":"https://www.clubfitsoftware.com.au"},{"kind":"email","title":"E-mail","titleTranslationKey":"info.contact.name","email":"support@clubfitsoftware.com.au","label":"support@clubfitsoftware.com.au","withCopyButton":true,"copyContent":"support@clubfitsoftware.com.au"},{"kind":"externallink","label":"Terms of Service","labelTranslationKey":"info.termsOfService","url":"https://clubfitsoftware.com.au/terms-and-conditions/"}]},{"title":"Languages","titleTranslationKey":"languages.title","children":[{"kind":"languages","options":[{"key":"curl","title":"curl","lang":"curl"},{"key":"javascript","title":"JavaScript","lang":"JavaScript"},{"key":"node","title":"Node.js","lang":"Node.js"},{"key":"python","title":"Python","lang":"Python"},{"key":"java","title":"Java","lang":"Java"},{"key":"csharp","title":"C#","lang":"C#"},{"key":"php","title":"PHP","lang":"PHP"},{"key":"go","title":"Go","lang":"Go"},{"key":"ruby","title":"Ruby","lang":"Ruby"},{"key":"r","title":"R","lang":"R"},{"key":"payload","title":"Payload","lang":"Payload"}]}]},{"title":"Servers","titleTranslationKey":"servers.title","children":[{"kind":"servers","servers":[{"url":"https://api.clubfit.net.au/v1"}],"mode":"default"}]}],"children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"header","level":1,"label":"Clubfit Software API (BETA) (1.0)","showPageActions":true},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This API documentation provides technical information about integrating to Clubfit Software."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"PLEASE NOTE"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Clubfit utilises OAuth2 for authentication and the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-api-key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" header for authorisation. Both need to be used in the API calls."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"We will provide you with your temporary credentials along with an API key per club. Please reach out to support if you do not have these."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"There are 2 API access plans currently available:"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Basic Plan $20 per club per month (ex GST)"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" - 1,000,000 requests per month"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Advanced Plan $50 per club per month (ex GST)"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" - 5,000,000 requests per month"},"children":[]}]}]}]}],"sectionId":"/openapi"}],"sectionId":"/openapi"}]}]}},{"type":"group","label":"Authentication","link":"/openapi/authentication","routeSlug":"/openapi/authentication","items":[{"label":"Token","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/authentication/authenticationtoken","routeSlug":"/openapi/authentication/authenticationtoken","metadata":{"seo":{"title":"Token","description":"Retrieve an access token. Authenticate with HTTP Basic using the credentials supplied by Clubfit; the client sends Authorization: Basic <base64(username:password)>. The returned token is used as the bearer token on all subsequent calls."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"authenticationToken","name":"Token","isWebhook":false,"pointer":"/paths/~1token/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Token","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Retrieve an access token. Authenticate with HTTP Basic using the credentials supplied by Clubfit; the client sends "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Basic <base64(username:password)>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". The returned token is used as the bearer token on all subsequent calls."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"BasicAuth","scopes":[],"type":"http","scheme":"basic","description":"Base64-encoded username:password supplied by Clubfit. Used only on /token."}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/token","servers":[{"url":"https://api.clubfit.net.au/v1"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"BasicAuth","type":"http","scheme":"basic"}],"scopes":[]}],"responseCodes":["200","401","429"],"pointer":"/token","href":"authentication/authenticationtoken","openApiOperationId":"authenticationToken","summary":"Token"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.clubfit.net.au/v1"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The response will contain the access token you will need to access the subsequent API calls.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/OAuthResponse"}},"schemaId":"components/schemas/OAuthResponse"},{"code":"401","description":"Missing, invalid or expired access token, or missing/invalid x-api-key."},{"code":"429","description":"Request quota for the club's API plan has been exceeded."}],"pointer":"/paths/~1token/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/OAuthResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/OAuthResponse"}}},{"code":"401"},{"code":"429"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/authentication/authenticationtoken"}],"panels":[]}]},"httpPath":"/token"}],"content":{"contentType":"group","meta":{"name":"Authentication"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Authentication","showPageActions":true},{"nodeType":"markdoc","content":"API authentication. This endpoint will create an access token that you can then use for subsequent API calls."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/token","summary":"Token","prefix":{"name":"post","color":"post"},"badges":[],"link":"/authentication/authenticationtoken","deprecated":false}]}]}]}]}},{"type":"group","label":"Members","link":"/openapi/members","routeSlug":"/openapi/members","items":[{"label":"Information","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/members/memberdata","routeSlug":"/openapi/members/memberdata","metadata":{"seo":{"title":"Information","description":"Retrieve member details including contact and membership information."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"memberData","name":"Information","isWebhook":false,"pointer":"/paths/~1members/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Information","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve member details including contact and membership information."},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","description":"OAuth2 client credentials. Obtain a token from the /token endpoint.","flows":{"clientCredentials":{"tokenUrl":"https://api.clubfit.net.au/v1/token","scopes":{"read":"Grants read access"}}}},{"name":"ApiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"x-api-key","description":"API key per club, provided to you by Clubfit."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"fromdate","in":"query","schemaId":"schema_5","description":"Filter members by their membership start date."},{"name":"updatedate","in":"query","schemaId":"schema_5","description":"Filter members by their last update date."},{"name":"status","in":"query","schemaId":"schema_6","description":"Filter by current member status."},{"name":"offset","in":"query","schemaId":"schema_7","description":"The index of the first result to return. Use with limit to get the next page of search results."},{"name":"limit","in":"query","schemaId":"schema_8","description":"The maximum number of results to return."}],"pointer":"/paths/~1members/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/members","servers":[{"url":"https://api.clubfit.net.au/v1"}],"parameters":{"path":[],"query":[{"name":"fromdate","in":"query","example":"2024-08-24T00:00:00","schemaId":"schema_5"},{"name":"updatedate","in":"query","example":"2024-08-24T00:00:00","schemaId":"schema_5"},{"name":"status","in":"query","required":false,"schemaId":"schema_6"},{"name":"offset","in":"query","required":false,"schemaId":"schema_7"},{"name":"limit","in":"query","required":false,"schemaId":"schema_8"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"https://api.clubfit.net.au/v1/token","scopes":{"read":"Grants read access"}}}},{"id":"ApiKeyAuth","type":"apiKey","name":"x-api-key","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401","429"],"pointer":"/members","href":"members/memberdata","openApiOperationId":"memberData","summary":"Information"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.clubfit.net.au/v1"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"search results matching criteria","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/MembersResponse"}},"schemaId":"components/schemas/MembersResponse"},{"code":"400","description":"Bad input parameter."},{"code":"401","description":"Missing, invalid or expired access token, or missing/invalid x-api-key."},{"code":"429","description":"Request quota for the club's API plan has been exceeded."}],"pointer":"/paths/~1members/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/MembersResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/MembersResponse"}}},{"code":"400"},{"code":"401"},{"code":"429"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/members/memberdata"}],"panels":[]}]},"httpPath":"/members"},{"label":"Visits","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/members/getmembervisits","routeSlug":"/openapi/members/getmembervisits","metadata":{"seo":{"title":"Visits","description":"Get member visits from a particular date. This does not include Creche, PT or Class visits."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getMemberVisits","name":"Visits","isWebhook":false,"pointer":"/paths/~1members~1attendance~1visits/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Visits","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Get member visits from a particular date. This does not include Creche, PT or Class visits."},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","description":"OAuth2 client credentials. Obtain a token from the /token endpoint.","flows":{"clientCredentials":{"tokenUrl":"https://api.clubfit.net.au/v1/token","scopes":{"read":"Grants read access"}}}},{"name":"ApiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"x-api-key","description":"API key per club, provided to you by Clubfit."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"fromdate","in":"query","schemaId":"schema_5","description":"Filter members by visit date and time."},{"name":"status","in":"query","schemaId":"schema_6","description":"Filter by current member status."},{"name":"offset","in":"query","schemaId":"schema_7","description":"The index of the first result to return. Use with limit to get the next page of search results."},{"name":"limit","in":"query","schemaId":"schema_8","description":"The maximum number of results to return."}],"pointer":"/paths/~1members~1attendance~1visits/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/members/attendance/visits","servers":[{"url":"https://api.clubfit.net.au/v1"}],"parameters":{"path":[],"query":[{"name":"fromdate","in":"query","example":"2024-08-24T00:00:00","schemaId":"schema_5"},{"name":"status","in":"query","required":false,"schemaId":"schema_6"},{"name":"offset","in":"query","required":false,"schemaId":"schema_7"},{"name":"limit","in":"query","required":false,"schemaId":"schema_8"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"https://api.clubfit.net.au/v1/token","scopes":{"read":"Grants read access"}}}},{"id":"ApiKeyAuth","type":"apiKey","name":"x-api-key","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401","429"],"pointer":"/members/attendance/visits","href":"members/getmembervisits","openApiOperationId":"getMemberVisits","summary":"Visits"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.clubfit.net.au/v1"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Member visits matching criteria","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/MembersVisitResponse"}},"schemaId":"components/schemas/MembersVisitResponse"},{"code":"400","description":"Bad input parameter."},{"code":"401","description":"Missing, invalid or expired access token, or missing/invalid x-api-key."},{"code":"429","description":"Request quota for the club's API plan has been exceeded."}],"pointer":"/paths/~1members~1attendance~1visits/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/MembersVisitResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/MembersVisitResponse"}}},{"code":"400"},{"code":"401"},{"code":"429"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/members/getmembervisits"}],"panels":[]}]},"httpPath":"/members/attendance/visits"},{"label":"Payment history","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/members/getmemberpaymenthistory","routeSlug":"/openapi/members/getmemberpaymenthistory","metadata":{"seo":{"title":"Payment history","description":"Retrieve member payment history transaction information."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getMemberPaymentHistory","name":"Payment history","isWebhook":false,"pointer":"/paths/~1members~1payment~1history/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Payment history","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve member payment history transaction information."},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","description":"OAuth2 client credentials. Obtain a token from the /token endpoint.","flows":{"clientCredentials":{"tokenUrl":"https://api.clubfit.net.au/v1/token","scopes":{"read":"Grants read access"}}}},{"name":"ApiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"x-api-key","description":"API key per club, provided to you by Clubfit."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"fromdate","in":"query","schemaId":"schema_5","description":"Filter payment history transactions by payment date and time."},{"name":"offset","in":"query","schemaId":"schema_7","description":"The index of the first result to return. Use with limit to get the next page of search results."},{"name":"limit","in":"query","schemaId":"schema_8","description":"The maximum number of results to return."}],"pointer":"/paths/~1members~1payment~1history/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/members/payment/history","servers":[{"url":"https://api.clubfit.net.au/v1"}],"parameters":{"path":[],"query":[{"name":"fromdate","in":"query","example":"2024-08-24T00:00:00","schemaId":"schema_5"},{"name":"offset","in":"query","required":false,"schemaId":"schema_7"},{"name":"limit","in":"query","required":false,"schemaId":"schema_8"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"https://api.clubfit.net.au/v1/token","scopes":{"read":"Grants read access"}}}},{"id":"ApiKeyAuth","type":"apiKey","name":"x-api-key","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401","429"],"pointer":"/members/payment/history","href":"members/getmemberpaymenthistory","openApiOperationId":"getMemberPaymentHistory","summary":"Payment history"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.clubfit.net.au/v1"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Member payment history transactions matching criteria","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/MembersPaymentHistoryResponse"}},"schemaId":"components/schemas/MembersPaymentHistoryResponse"},{"code":"400","description":"Bad input parameter."},{"code":"401","description":"Missing, invalid or expired access token, or missing/invalid x-api-key."},{"code":"429","description":"Request quota for the club's API plan has been exceeded."}],"pointer":"/paths/~1members~1payment~1history/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/MembersPaymentHistoryResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/MembersPaymentHistoryResponse"}}},{"code":"400"},{"code":"401"},{"code":"429"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/members/getmemberpaymenthistory"}],"panels":[]}]},"httpPath":"/members/payment/history"},{"label":"POS transactions","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/members/getmemberpostransactions","routeSlug":"/openapi/members/getmemberpostransactions","metadata":{"seo":{"title":"POS transactions","description":"Retrieve member POS transactions information including staff member, line items and payments made."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getMemberPOSTransactions","name":"POS transactions","isWebhook":false,"pointer":"/paths/~1members~1pos~1transactions/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"POS transactions","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve member POS transactions information including staff member, line items and payments made."},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","description":"OAuth2 client credentials. Obtain a token from the /token endpoint.","flows":{"clientCredentials":{"tokenUrl":"https://api.clubfit.net.au/v1/token","scopes":{"read":"Grants read access"}}}},{"name":"ApiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"x-api-key","description":"API key per club, provided to you by Clubfit."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"fromdate","in":"query","schemaId":"schema_5","description":"Filter pos transactions by transaction date and time."},{"name":"offset","in":"query","schemaId":"schema_7","description":"The index of the first result to return. Use with limit to get the next page of search results."},{"name":"limit","in":"query","schemaId":"schema_8","description":"The maximum number of results to return."}],"pointer":"/paths/~1members~1pos~1transactions/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/members/pos/transactions","servers":[{"url":"https://api.clubfit.net.au/v1"}],"parameters":{"path":[],"query":[{"name":"fromdate","in":"query","example":"2024-08-24T00:00:00","schemaId":"schema_5"},{"name":"offset","in":"query","required":false,"schemaId":"schema_7"},{"name":"limit","in":"query","required":false,"schemaId":"schema_8"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"https://api.clubfit.net.au/v1/token","scopes":{"read":"Grants read access"}}}},{"id":"ApiKeyAuth","type":"apiKey","name":"x-api-key","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401","429"],"pointer":"/members/pos/transactions","href":"members/getmemberpostransactions","openApiOperationId":"getMemberPOSTransactions","summary":"POS transactions"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.clubfit.net.au/v1"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Member POS transactions matching criteria","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/MembersPOSTransactionResponse"}},"schemaId":"components/schemas/MembersPOSTransactionResponse"},{"code":"400","description":"Bad input parameter."},{"code":"401","description":"Missing, invalid or expired access token, or missing/invalid x-api-key."},{"code":"429","description":"Request quota for the club's API plan has been exceeded."}],"pointer":"/paths/~1members~1pos~1transactions/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/MembersPOSTransactionResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/MembersPOSTransactionResponse"}}},{"code":"400"},{"code":"401"},{"code":"429"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/members/getmemberpostransactions"}],"panels":[]}]},"httpPath":"/members/pos/transactions"}],"content":{"contentType":"group","meta":{"name":"Members"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Members","showPageActions":true},{"nodeType":"markdoc","content":"The member endpoints will return data relevant to member information."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/members","summary":"Information","prefix":{"name":"get","color":"get"},"badges":[],"link":"/members/memberdata","deprecated":false},{"title":"/members/attendance/visits","summary":"Visits","prefix":{"name":"get","color":"get"},"badges":[],"link":"/members/getmembervisits","deprecated":false},{"title":"/members/payment/history","summary":"Payment history","prefix":{"name":"get","color":"get"},"badges":[],"link":"/members/getmemberpaymenthistory","deprecated":false},{"title":"/members/pos/transactions","summary":"POS transactions","prefix":{"name":"get","color":"get"},"badges":[],"link":"/members/getmemberpostransactions","deprecated":false}]}]}]}]}},{"type":"group","label":"Prospects","link":"/openapi/prospects","routeSlug":"/openapi/prospects","items":[{"label":"Information","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/prospects/prospectdata","routeSlug":"/openapi/prospects/prospectdata","metadata":{"seo":{"title":"Information","description":"Retrieve prospect details including contact and trial information."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"prospectData","name":"Information","isWebhook":false,"pointer":"/paths/~1prospects/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Information","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve prospect details including contact and trial information."},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","description":"OAuth2 client credentials. Obtain a token from the /token endpoint.","flows":{"clientCredentials":{"tokenUrl":"https://api.clubfit.net.au/v1/token","scopes":{"read":"Grants read access"}}}},{"name":"ApiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"x-api-key","description":"API key per club, provided to you by Clubfit."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"fromdate","in":"query","schemaId":"schema_5","description":"Filter prospects by their last status update date and time."},{"name":"status","in":"query","schemaId":"schema_9","description":"Filter by current prospect status."},{"name":"offset","in":"query","schemaId":"schema_7","description":"The index of the first result to return. Use with limit to get the next page of search results."},{"name":"limit","in":"query","schemaId":"schema_8","description":"The maximum number of results to return."}],"pointer":"/paths/~1prospects/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/prospects","servers":[{"url":"https://api.clubfit.net.au/v1"}],"parameters":{"path":[],"query":[{"name":"fromdate","in":"query","example":"2024-08-24T00:00:00","schemaId":"schema_5"},{"name":"status","in":"query","required":false,"schemaId":"schema_9"},{"name":"offset","in":"query","required":false,"schemaId":"schema_7"},{"name":"limit","in":"query","required":false,"schemaId":"schema_8"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"https://api.clubfit.net.au/v1/token","scopes":{"read":"Grants read access"}}}},{"id":"ApiKeyAuth","type":"apiKey","name":"x-api-key","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401","429"],"pointer":"/prospects","href":"prospects/prospectdata","openApiOperationId":"prospectData","summary":"Information"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.clubfit.net.au/v1"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"search results matching criteria","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ProspectResponse"}},"schemaId":"components/schemas/ProspectResponse"},{"code":"400","description":"Bad input parameter."},{"code":"401","description":"Missing, invalid or expired access token, or missing/invalid x-api-key."},{"code":"429","description":"Request quota for the club's API plan has been exceeded."}],"pointer":"/paths/~1prospects/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/ProspectResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ProspectResponse"}}},{"code":"400"},{"code":"401"},{"code":"429"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/prospects/prospectdata"}],"panels":[]}]},"httpPath":"/prospects"}],"content":{"contentType":"group","meta":{"name":"Prospects"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Prospects","showPageActions":true},{"nodeType":"markdoc","content":"The prospect endpoints will return data relevant to prospect information."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/prospects","summary":"Information","prefix":{"name":"get","color":"get"},"badges":[],"link":"/prospects/prospectdata","deprecated":false}]}]}]}]}},{"type":"group","label":"Financial","link":"/openapi/financial","routeSlug":"/openapi/financial","items":[{"label":"Gym disbursements","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/financial/getfinancialdisbursements","routeSlug":"/openapi/financial/getfinancialdisbursements","metadata":{"seo":{"title":"Gym disbursements","description":"Disbursement payments made to your club"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getFinancialDisbursements","name":"Gym disbursements","isWebhook":false,"pointer":"/paths/~1financial~1disbursements/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Gym disbursements","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Disbursement payments made to your club"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","description":"OAuth2 client credentials. Obtain a token from the /token endpoint.","flows":{"clientCredentials":{"tokenUrl":"https://api.clubfit.net.au/v1/token","scopes":{"read":"Grants read access"}}}},{"name":"ApiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"x-api-key","description":"API key per club, provided to you by Clubfit."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"fromdate","in":"query","schemaId":"schema_5","description":"Filter disbursements by payment date and time."},{"name":"offset","in":"query","schemaId":"schema_7","description":"The index of the first result to return. Use with limit to get the next page of search results."},{"name":"limit","in":"query","schemaId":"schema_8","description":"The maximum number of results to return."}],"pointer":"/paths/~1financial~1disbursements/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/financial/disbursements","servers":[{"url":"https://api.clubfit.net.au/v1"}],"parameters":{"path":[],"query":[{"name":"fromdate","in":"query","example":"2024-08-24T00:00:00","schemaId":"schema_5"},{"name":"offset","in":"query","required":false,"schemaId":"schema_7"},{"name":"limit","in":"query","required":false,"schemaId":"schema_8"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"https://api.clubfit.net.au/v1/token","scopes":{"read":"Grants read access"}}}},{"id":"ApiKeyAuth","type":"apiKey","name":"x-api-key","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401","429"],"pointer":"/financial/disbursements","href":"financial/getfinancialdisbursements","openApiOperationId":"getFinancialDisbursements","summary":"Gym disbursements"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.clubfit.net.au/v1"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Disbursements matching criteria","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/DisbursementResponse"}},"schemaId":"components/schemas/DisbursementResponse"},{"code":"400","description":"Bad input parameter."},{"code":"401","description":"Missing, invalid or expired access token, or missing/invalid x-api-key."},{"code":"429","description":"Request quota for the club's API plan has been exceeded."}],"pointer":"/paths/~1financial~1disbursements/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/DisbursementResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/DisbursementResponse"}}},{"code":"400"},{"code":"401"},{"code":"429"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/financial/getfinancialdisbursements"}],"panels":[]}]},"httpPath":"/financial/disbursements"},{"label":"Debt collection","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/financial/getfinancialdebtcollection","routeSlug":"/openapi/financial/getfinancialdebtcollection","metadata":{"seo":{"title":"Debt collection","description":"Member details sent to debt collection"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getFinancialDebtCollection","name":"Debt collection","isWebhook":false,"pointer":"/paths/~1financial~1debtcollection/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Debt collection","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Member details sent to debt collection"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","description":"OAuth2 client credentials. Obtain a token from the /token endpoint.","flows":{"clientCredentials":{"tokenUrl":"https://api.clubfit.net.au/v1/token","scopes":{"read":"Grants read access"}}}},{"name":"ApiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"x-api-key","description":"API key per club, provided to you by Clubfit."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"fromdate","in":"query","schemaId":"schema_5","description":"Filter by date sent to debt collection."},{"name":"offset","in":"query","schemaId":"schema_7","description":"The index of the first result to return. Use with limit to get the next page of search results."},{"name":"limit","in":"query","schemaId":"schema_8","description":"The maximum number of results to return."}],"pointer":"/paths/~1financial~1debtcollection/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/financial/debtcollection","servers":[{"url":"https://api.clubfit.net.au/v1"}],"parameters":{"path":[],"query":[{"name":"fromdate","in":"query","example":"2024-08-24T00:00:00","schemaId":"schema_5"},{"name":"offset","in":"query","required":false,"schemaId":"schema_7"},{"name":"limit","in":"query","required":false,"schemaId":"schema_8"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"https://api.clubfit.net.au/v1/token","scopes":{"read":"Grants read access"}}}},{"id":"ApiKeyAuth","type":"apiKey","name":"x-api-key","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401","429"],"pointer":"/financial/debtcollection","href":"financial/getfinancialdebtcollection","openApiOperationId":"getFinancialDebtCollection","summary":"Debt collection"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.clubfit.net.au/v1"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Debt collection records matching criteria","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/DebtCollectionResponse"}},"schemaId":"components/schemas/DebtCollectionResponse"},{"code":"400","description":"Bad input parameter."},{"code":"401","description":"Missing, invalid or expired access token, or missing/invalid x-api-key."},{"code":"429","description":"Request quota for the club's API plan has been exceeded."}],"pointer":"/paths/~1financial~1debtcollection/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/DebtCollectionResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/DebtCollectionResponse"}}},{"code":"400"},{"code":"401"},{"code":"429"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/financial/getfinancialdebtcollection"}],"panels":[]}]},"httpPath":"/financial/debtcollection"}],"content":{"contentType":"group","meta":{"name":"Financial"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Financial","showPageActions":true},{"nodeType":"markdoc","content":"The financial endpoints will return data relevant to financial information."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/financial/disbursements","summary":"Gym disbursements","prefix":{"name":"get","color":"get"},"badges":[],"link":"/financial/getfinancialdisbursements","deprecated":false},{"title":"/financial/debtcollection","summary":"Debt collection","prefix":{"name":"get","color":"get"},"badges":[],"link":"/financial/getfinancialdebtcollection","deprecated":false}]}]}]}]}}],"store":{"schemaStore":{"components/schemas/OAuthResponse":{"id":"components/schemas/OAuthResponse","kind":"json-schema","title":"OAuthResponse","data":{"type":"object","properties":{"AccessToken":{"type":"string","description":"JWT access token","example":"jashjgfafgdsljlfjsadjfsjflijsdlfdsxkzlcmlzxkcm"},"ExpiresIn":{"type":"integer","description":"Number of seconds the access token is valid for","example":3600,"format":"int32"},"TokenType":{"type":"string","description":"Bearer","example":"Bearer"}}}},"components/schemas/MembersResponse":{"id":"components/schemas/MembersResponse","kind":"json-schema","title":"MembersResponse","data":{"type":"object","properties":{"href":{"type":"string","description":"Current API URL","example":"https://api.clubfit.net.au/v1/members"},"next":{"type":"string","description":"Next API URL to retrieve the next page","example":"https://api.clubfit.net.au/v1/members?limit=500&offset=500"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Member"}}}}},"components/schemas/ProspectResponse":{"id":"components/schemas/ProspectResponse","kind":"json-schema","title":"ProspectResponse","data":{"type":"object","properties":{"href":{"type":"string","description":"Current API URL","example":"https://api.clubfit.net.au/v1/prospects"},"next":{"type":"string","description":"Next API URL to retrieve the next page","example":"https://api.clubfit.net.au/v1/prospects?limit=500&offset=500"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Prospect"}}}}},"components/schemas/DebtCollectionResponse":{"id":"components/schemas/DebtCollectionResponse","kind":"json-schema","title":"DebtCollectionResponse","data":{"type":"object","properties":{"href":{"type":"string","description":"Current API URL","example":"https://api.clubfit.net.au/v1/financial/debtcollection"},"next":{"type":"string","description":"Next API URL to retrieve the next page","example":"https://api.clubfit.net.au/v1/financial/debtcollection?limit=500&offset=500"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DebtCollection"}}}}},"components/schemas/DebtCollection":{"id":"components/schemas/DebtCollection","kind":"json-schema","title":"DebtCollection","data":{"type":"object","properties":{"Amount":{"type":"number","description":"Amount sent to debt collection for retrieval","example":11.95},"DebtCollectionDate":{"type":"string","description":"ISO 8601 date and time with no UTC offset, e.g. 2024-08-24T14:30:00. Clients must not send an offset or trailing Z.","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","example":"2000-01-02T00:00:00"},"MemberNumber":{"type":"string","example":"G123"},"FirstName":{"type":"string","example":"John"},"LastName":{"type":"string","example":"Doe"},"Email":{"type":"string","format":"email","example":"john@doe.com"},"Mobile":{"type":"string","example":"0420000000"},"Address":{"type":"string","example":"123 my street,Sunnybank,QLD,4176"}}}},"components/schemas/MembersPOSTransactionResponse":{"id":"components/schemas/MembersPOSTransactionResponse","kind":"json-schema","title":"MembersPOSTransactionResponse","data":{"type":"object","properties":{"href":{"type":"string","description":"Current API URL","example":"https://api.clubfit.net.au/v1/members/pos/transactions"},"next":{"type":"string","description":"Next API URL to retrieve the next page","example":"https://api.clubfit.net.au/v1/members/pos/transactions?limit=500&offset=500"},"data":{"type":"array","items":{"$ref":"#/components/schemas/MemberPOSTransaction"}}}}},"components/schemas/MembersPaymentHistoryResponse":{"id":"components/schemas/MembersPaymentHistoryResponse","kind":"json-schema","title":"MembersPaymentHistoryResponse","data":{"type":"object","properties":{"href":{"type":"string","description":"Current API URL","example":"https://api.clubfit.net.au/v1/members/payment/history"},"next":{"type":"string","description":"Next API URL to retrieve the next page","example":"https://api.clubfit.net.au/v1/members/payment/history?limit=500&offset=500"},"data":{"type":"array","items":{"$ref":"#/components/schemas/MemberPaymentHistory"}}}}},"components/schemas/MemberPaymentHistory":{"id":"components/schemas/MemberPaymentHistory","kind":"json-schema","title":"MemberPaymentHistory","data":{"type":"object","properties":{"Id":{"type":"integer","description":"Payment history Id","example":1234,"format":"int64"},"Number":{"type":"string","description":"Member number","example":"1234"},"PaymentDate":{"type":"string","description":"ISO 8601 date and time with no UTC offset, e.g. 2024-08-24T14:30:00. Clients must not send an offset or trailing Z.","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","example":"2000-01-01T04:02:00"},"PaymentType":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"DD = Direct Debit, CC = Credit Card"},"children":[]}]}]}],"example":"DD"},"Response":{"type":"string","example":"00 Transaction Approved"},"PaymentDescription":{"type":"string","example":"MEMBER_OVERDUE_ONLINE"},"PaymentForReference":{"$ref":"#/components/schemas/IdName"},"FeeBreakdown":{"type":"array","items":{"$ref":"#/components/schemas/FeeBreakdown"}},"Refund":{"type":"object","properties":{"IsRefunded":{"type":"boolean","description":"true if the line item has been refunded","example":true},"RefundedPaymentId":{"type":"integer","example":123,"format":"int64"}}}}}},"components/schemas/MemberPOSTransaction":{"id":"components/schemas/MemberPOSTransaction","kind":"json-schema","title":"MemberPOSTransaction","data":{"type":"object","properties":{"PosTransactionId":{"type":"integer","example":1234,"format":"int64"},"TransactionDate":{"type":"string","description":"ISO 8601 date and time with no UTC offset, e.g. 2024-08-24T14:30:00. Clients must not send an offset or trailing Z.","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","example":"2000-01-01T04:02:00"},"TransactionType":{"type":"string","example":"Sale"},"TotalExTax":{"type":"number","description":"POS transaction total excluding TAX","example":1234},"TotalIncTax":{"type":"number","description":"POS transaction total including TAX","example":1234},"Till":{"type":"string","example":"Reception"},"Items":{"type":"array","items":{"$ref":"#/components/schemas/POSTransactionItem"}}}}},"components/schemas/FeeBreakdown":{"id":"components/schemas/FeeBreakdown","kind":"json-schema","title":"FeeBreakdown","data":{"type":"object","properties":{"AccessCardFee":{"type":"number","example":0},"AddOnAmount":{"type":"number","example":0},"Adjustment":{"type":"number","example":0},"ArrearsFee":{"type":"number","example":0},"CancellationLateFee":{"type":"number","example":0},"CardSurchargeFee":{"type":"number","example":0},"ClassNoShowFee":{"type":"number","example":0},"CrecheClassNoShowFee":{"type":"number","example":0},"DishonourFee":{"type":"number","example":0},"JoiningFee":{"type":"number","example":0},"MaintenanceFee":{"type":"number","example":0},"PosTransaction":{"type":"number","example":0},"Prorata":{"type":"number","example":0},"PtNoShowFee":{"type":"number","example":0},"RegPaymentFee":{"type":"number","example":0},"SetupFee":{"type":"number","example":0},"SubscriptionFee":{"type":"number","example":0},"SuspensionFee":{"type":"number","example":0},"TransactionFee":{"type":"number","example":0}}}},"components/schemas/POSTransactionItem":{"id":"components/schemas/POSTransactionItem","kind":"json-schema","title":"POSTransactionItem","data":{"type":"object","properties":{"ItemId":{"type":"integer","example":1234,"format":"int64"},"ProductId":{"type":"integer","example":1234,"format":"int64"},"ProductName":{"type":"string","example":"Coke"},"Description":{"type":"string","example":"Sale"},"PriceExTax":{"type":"number","description":"Item price excluding TAX","example":1234},"PriceIncTax":{"type":"number","description":"Item price including TAX","example":1234},"Quantity":{"type":"number","example":1},"Tax":{"type":"number","description":"Item TAX component","example":1234},"Discount":{"type":"number","description":"Item discount","example":1234},"CategoryId":{"type":"integer","description":"Item product category id","example":1234,"format":"int64"},"CategoryName":{"type":"string","example":"Drinks","description":"Item product category name"},"SubCategoryId":{"type":"integer","description":"Item product sub category id","example":1234,"format":"int64"},"SubCategoryName":{"type":"string","example":"Soft Drinks","description":"Item product sub category name"},"IsRefunded":{"type":"boolean","description":"true if the line item has been refunded","example":false},"IsVoided":{"type":"boolean","description":"true if the line item has been voided","example":false}}}},"components/schemas/MembersVisitResponse":{"id":"components/schemas/MembersVisitResponse","kind":"json-schema","title":"MembersVisitResponse","data":{"type":"object","properties":{"href":{"type":"string","description":"Current API URL","example":"https://api.clubfit.net.au/v1/members/attendance/visits"},"next":{"type":"string","description":"Next API URL to retrieve the next page","example":"https://api.clubfit.net.au/v1/members/attendance/visits?limit=500&offset=500"},"data":{"type":"array","items":{"$ref":"#/components/schemas/MemberVisit"}}}}},"components/schemas/MemberVisit":{"id":"components/schemas/MemberVisit","kind":"json-schema","title":"MemberVisit","data":{"type":"object","properties":{"MemberNumber":{"type":"string","example":"Ab1234"},"Door":{"type":"string","example":"Globo front door"},"ScanSource":{"type":"string","example":"Paxton"},"VisitDateTime":{"type":"string","description":"Gym local time. ISO 8601 date and time with no UTC offset, e.g. 2024-08-24T14:30:00. Clients must not send an offset or trailing Z.","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","example":"2000-01-01T04:02:00"}}}},"components/schemas/DisbursementResponse":{"id":"components/schemas/DisbursementResponse","kind":"json-schema","title":"DisbursementResponse","data":{"type":"object","properties":{"href":{"type":"string","description":"Current API URL","example":"https://api.clubfit.net.au/v1/financial/disbursements"},"next":{"type":"string","description":"Next API URL to retrieve the next page","example":"https://api.clubfit.net.au/v1/financial/disbursements?limit=500&offset=500"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Disbursement"}}}}},"components/schemas/Disbursement":{"id":"components/schemas/Disbursement","kind":"json-schema","title":"Disbursement","data":{"type":"object","properties":{"DisbursementDate":{"type":"string","description":"ISO 8601 date and time with no UTC offset, e.g. 2024-08-24T14:30:00. Clients must not send an offset or trailing Z.","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","example":"2000-01-02T00:00:00"},"TransactionDate":{"type":"string","description":"ISO 8601 date and time with no UTC offset, e.g. 2024-08-24T14:30:00. Clients must not send an offset or trailing Z.","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","example":"2000-01-01T00:00:00"},"Amount":{"type":"number","example":22.95},"MemberNumber":{"type":"string","example":"Ab1234"},"Department":{"type":"string","example":"Gym"},"PaymentType":{"type":"string","example":"CC"},"Breakdown":{"$ref":"#/components/schemas/DisbursementBreakdown"}}}},"components/schemas/Member":{"id":"components/schemas/Member","kind":"json-schema","title":"Member","data":{"type":"object","properties":{"Number":{"type":"string","example":"1000"},"FirstName":{"type":"string","example":"John"},"LastName":{"type":"string","example":"Doe"},"Status":{"type":"string","example":"Active"},"Barcode":{"type":"string","example":"51234"},"FitnessPassportNumber":{"type":"string","example":"51234"},"DateOfBirth":{"type":"string","description":"ISO 8601 date and time with no UTC offset, e.g. 2024-08-24T14:30:00. Clients must not send an offset or trailing Z.","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","example":"2000-01-01T00:00:00"},"Gender":{"type":"string","example":"M"},"LastUpdatedUtcDateTime":{"description":"This date time is in UTC. ISO 8601 date and time with no UTC offset, e.g. 2024-08-24T14:30:00. Clients must not send an offset or trailing Z.","type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","example":"2000-01-01T00:00:00"},"Contact":{"$ref":"#/components/schemas/Contact"},"Membership":{"$ref":"#/components/schemas/Membership"}}}},"components/schemas/Prospect":{"id":"components/schemas/Prospect","kind":"json-schema","title":"Prospect","data":{"type":"object","properties":{"Number":{"type":"string","example":"1000"},"FirstName":{"type":"string","example":"John"},"LastName":{"type":"string","example":"Doe"},"Status":{"type":"string","example":"OnTrial"},"Barcode":{"type":"string","example":"51234"},"DateOfBirth":{"type":"string","description":"ISO 8601 date and time with no UTC offset, e.g. 2024-08-24T14:30:00. Clients must not send an offset or trailing Z.","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","example":"2000-01-01T00:00:00"},"Gender":{"type":"string","example":"M"},"TrialStartDate":{"type":"string","description":"ISO 8601 date and time with no UTC offset, e.g. 2024-08-24T14:30:00. Clients must not send an offset or trailing Z.","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","example":"2000-01-01T00:00:00"},"TrialEndDate":{"type":"string","description":"ISO 8601 date and time with no UTC offset, e.g. 2024-08-24T14:30:00. Clients must not send an offset or trailing Z.","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","example":"2000-01-01T00:00:00"},"CreatedDateUtc":{"type":"string","description":"ISO 8601 date and time with no UTC offset, e.g. 2024-08-24T14:30:00. Clients must not send an offset or trailing Z.","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","example":"2000-01-01T00:00:00"},"ContactMethod":{"$ref":"#/components/schemas/IdName"},"Source":{"$ref":"#/components/schemas/IdName"},"SourcePage":{"type":"string","example":"abc"},"SalesPerson":{"$ref":"#/components/schemas/SalesPerson"},"Contact":{"$ref":"#/components/schemas/Contact"}}}},"components/schemas/Membership":{"id":"components/schemas/Membership","kind":"json-schema","title":"Membership","data":{"required":["Id","Name","StartDate","Type"],"properties":{"Id":{"type":"integer","example":12345},"Name":{"type":"string","example":"12 Month Membership"},"StartDate":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Gym local time. ISO 8601 date and time with no UTC offset, e.g. 2024-08-24T14:30:00. Clients must not send an offset or trailing Z.","example":"2024-08-24T00:00:00"},"SaleDate":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","description":"Gym local time. ISO 8601 date and time with no UTC offset, e.g. 2024-08-24T14:30:00. Clients must not send an offset or trailing Z.","example":"2024-08-24T00:00:00"},"CancellationDate":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","example":"2024-08-24T00:00:00","description":"Displays if there is a value. ISO 8601 date and time with no UTC offset, e.g. 2024-08-24T14:30:00. Clients must not send an offset or trailing Z."},"MinimumTermDate":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","example":"2024-08-24T00:00:00","description":"Displays if there is a value. ISO 8601 date and time with no UTC offset, e.g. 2024-08-24T14:30:00. Clients must not send an offset or trailing Z."},"ExpiryDate":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","example":"2024-08-24T00:00:00","description":"Displays if membership contract type is Paid in Full. ISO 8601 date and time with no UTC offset, e.g. 2024-08-24T14:30:00. Clients must not send an offset or trailing Z."},"Type":{"type":"string","example":"Direct Debit"}},"type":"object"}},"components/schemas/Contact":{"id":"components/schemas/Contact","kind":"json-schema","title":"Contact","data":{"required":["Email"],"properties":{"Email":{"type":"string","format":"email","example":"john@doe.com"},"OptOutEmail":{"type":"boolean","description":"true the contact has opted out to email communication","example":false},"Mobile":{"type":"string","example":"0424000000"},"OptOutSms":{"type":"boolean","description":"true the contact has opted out to sms communication","example":false},"Home":{"type":"string","example":"0712345661"},"Work":{"type":"string","example":"074555667"},"Address":{"type":"string","example":"1 No way Street"},"Suburb":{"type":"string","example":"Sunnyhills"},"State":{"type":"string","example":"QLD"},"Postcode":{"type":"string","example":"4000"}},"type":"object"}},"components/schemas/SalesPerson":{"id":"components/schemas/SalesPerson","kind":"json-schema","title":"SalesPerson","data":{"type":"object","properties":{"Id":{"type":"integer","example":12345},"FirstName":{"type":"string","example":"John"},"LastName":{"type":"string","example":"Doe"},"Email":{"type":"string","format":"email","example":"john@doe.com"}}}},"components/schemas/IdName":{"id":"components/schemas/IdName","kind":"json-schema","title":"IdName","data":{"properties":{"Id":{"type":"integer","example":123},"Name":{"type":"string","example":"abc"}},"type":"object"}},"components/schemas/DisbursementBreakdown":{"id":"components/schemas/DisbursementBreakdown","kind":"json-schema","title":"DisbursementBreakdown","data":{"properties":{"Membership":{"description":"Membership fee","type":"number","example":0},"AccessCard":{"description":"Access card fee","type":"number","example":0},"Surcharge":{"description":"Surcharge fee","type":"number","example":0},"Joining":{"description":"Joining fee","type":"number","example":0},"Setup":{"description":"Setup fee","type":"number","example":0},"Transaction":{"description":"Transaction fee","type":"number","example":0},"Subscription":{"description":"Subscription fee","type":"number","example":0},"Arrears":{"description":"Arrears fee","type":"number","example":0},"Prorata":{"description":"Pro Rata fee","type":"number","example":0},"Dishonour":{"description":"Dishonour fee","type":"number","example":0},"Suspension":{"description":"Suspension fee","type":"number","example":0},"Pos":{"description":"Pos transaction","type":"number","example":0},"AddOn":{"description":"AddOn fee","type":"number","example":0},"Cancellation":{"description":"Cancellation fee","type":"number","example":0},"ClassNoShow":{"description":"Class no show fee","type":"number","example":0},"PtNoShow":{"description":"Pt no show fee","type":"number","example":0}}}},"schema_5":{"kind":"json-schema","data":{"type":"string","description":"ISO 8601 date and time with no UTC offset, e.g. 2024-08-24T14:30:00. Clients must not send an offset or trailing Z.","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?$","example":"2024-08-24T00:00:00"},"id":"schema_5"},"schema_6":{"kind":"json-schema","data":{"type":"string","enum":["Active","PaymentIssue","Suspended","Archived","PendingActivation","PendingOnlineSignup"]},"id":"schema_6"},"schema_7":{"kind":"json-schema","data":{"type":"integer","format":"int32"},"id":"schema_7"},"schema_8":{"kind":"json-schema","data":{"type":"integer","format":"int32","minimum":0,"maximum":500,"default":500},"id":"schema_8"},"schema_9":{"kind":"json-schema","data":{"type":"string","enum":["Trial_Expired","Enquiry","NotInterested","OnTrial","Tour","NoSaleReturn","DidNotShow","Sale"]},"id":"schema_9"}},"exampleStore":{},"securitySchemeStore":{"OAuth2":{"id":"OAuth2","type":"oauth2","description":"OAuth2 client credentials. Obtain a token from the /token endpoint.","flows":{"clientCredentials":{"tokenUrl":"https://api.clubfit.net.au/v1/token","scopes":{"read":"Grants read access"}}}},"BasicAuth":{"id":"BasicAuth","type":"http","scheme":"basic","description":"Base64-encoded username:password supplied by Clubfit. Used only on /token."},"ApiKeyAuth":{"id":"ApiKeyAuth","type":"apiKey","description":"API key per club, provided to you by Clubfit.","in":"header","paramName":"x-api-key"}},"servers":[{"url":"https://api.clubfit.net.au/v1"}]},"options":{"hideSidebar":true,"mockServer":{"off":true},"disableRouter":true,"downloadUrls":[{"url":"/_bundle/openapi.json?download"},{"url":"/_bundle/openapi.yaml?download"}],"excludeFromSearch":false,"specType":"openapi","markdocOptions":{"tags":{},"nodes":{},"components":{}},"metadata":{"title":"Clubfit Software API (BETA)","description":"This API documentation provides technical information about integrating to Clubfit Software.\n\n**PLEASE NOTE**\n\nClubfit utilises OAuth2 for authentication and the `x-api-key` header for authorisation. Both need to be used in the API calls.\n\nWe will provide you with your temporary credentials along with an API key per club. Please reach out to support if you do not have these.\n\nThere are 2 API access plans currently available:\n\n**Basic Plan $20 per club per month (ex GST)** - 1,000,000 requests per month\n\n**Advanced Plan $50 per club per month (ex GST)** - 5,000,000 requests per month\n"}},"baseSlug":"/openapi","routesMapping":{}}