ClubReady Api

<back to all web services

UserVisitHistoryRequest

Gets user check-in history based on a date range. Max 31 days.

The following routes are available for this service:
GET/users/{UserId}/visit-historyGet user visit history
UserVisitHistoryRequest Parameters:
NameParameterData TypeRequiredDescription
ApiKeyquerystringYesApi Key - grants access to resources
UserIdqueryintegerYes
StoreIdquerystringNoStoreId OR ChainId is required
ChainIdquerystringNoStoreId OR ChainId is required
FromDatequerydateYes(Format:YYYY-MM-DD)
ToDatequerydateYesMax 31 Days (Format:YYYY-MM-DD)
RestrictedIdqueryint?No
RestrictedResourceTypequeryRestrictedResourceTypeNo
UserVisitHistoryRequestDto Parameters:
NameParameterData TypeRequiredDescription
UserIdformintNo
FromDateformDateTimeNo
ToDateformDateTimeNo
ApiDtoBase Parameters:
NameParameterData TypeRequiredDescription
ApiKeyformstringNo
StoreIdformint?No
ChainIdformint?No
RestrictedResourceType Enum:
Store
Chain
User
Undefined

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /users/{UserId}/visit-history HTTP/1.1 
Host: clubready.com 
Accept: application/json