GET | /club/guest-pass/types | Guest passes available at location. |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ApiKey | query | string | Yes | Api Key - grants access to resources |
StoreId | query | integer | No | Either StoreId or ChainId is required |
ChainId | query | integer | No | Either StoreId or ChainId is required |
RestrictedId | query | int? | No | |
RestrictedResourceType | query | RestrictedResourceType | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ApiKey | form | string | No | |
StoreId | form | int? | No | |
ChainId | form | int? | No |
Store | |
Chain | |
User | |
Undefined |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
GuestPassTypes | form | List<GuestPassTypeDto> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
GuestPassTypes | form | List<GuestPassTypeDto> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Success | form | bool | No | |
Message | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
GuestPassTypeId | form | int | No | |
ChainId | form | int? | No | |
StoreId | form | int? | No | |
PassName | form | string | No | |
DurationDays | form | int | No | |
ExpirationEditable | form | bool | No | |
MaxDurationDays | form | int | No | |
AutoActivateWhenIssued | form | bool | No | |
IssueBarcodeWhenActivated | form | bool | No | |
TagWhenActivated | form | string | No | |
MaxIssuedCount | form | int | No | |
IsDeleted | form | bool | No | |
InactiveCount | form | int | No | |
ActiveCount | form | int | No | |
ExpiredCount | form | int | No | |
TotalCount | form | int | No |
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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /club/guest-pass/types HTTP/1.1 Host: clubready.com Accept: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"GuestPassTypes":[{"GuestPassTypeId":0,"ChainId":0,"StoreId":0,"PassName":"String","DurationDays":0,"ExpirationEditable":false,"MaxDurationDays":0,"AutoActivateWhenIssued":false,"IssueBarcodeWhenActivated":false,"TagWhenActivated":"String","MaxIssuedCount":0,"IsDeleted":false,"InactiveCount":0,"ActiveCount":0,"ExpiredCount":0,"TotalCount":0}],"Success":false,"Message":"String"}