public class GuestAndLoyaltyApi extends Object
| Constructor and Description |
|---|
GuestAndLoyaltyApi() |
GuestAndLoyaltyApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
String |
getCustomBaseUrl() |
Object |
getGuests(String email)
guests
The guests API returns the unique guest ID of a user based on the users email
ID
|
okhttp3.Call |
getGuestsAsync(String email,
ApiCallback<Object> _callback)
guests (asynchronously)
The guests API returns the unique guest ID of a user based on the users email
ID
|
okhttp3.Call |
getGuestsCall(String email,
ApiCallback _callback)
Build call for guestsGet
|
ApiResponse<Object> |
getGuestsWithHttpInfo(String email)
guests
The guests API returns the unique guest ID of a user based on the users email
ID
|
int |
getHostIndex() |
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
public GuestAndLoyaltyApi()
public GuestAndLoyaltyApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public int getHostIndex()
public void setHostIndex(int hostIndex)
public String getCustomBaseUrl()
public void setCustomBaseUrl(String customBaseUrl)
public okhttp3.Call getGuestsCall(String email, ApiCallback _callback) throws ApiException
email - Email ID of the guest (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object
| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amzn-Remapped-Content-Length - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 400 | Bad Request | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amzn-Remapped-Content-Length - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 401 | Unauthorized | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amzn-Remapped-Content-Length - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
public Object getGuests(String email)
email - Email ID of the guest (optional)| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amzn-Remapped-Content-Length - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 400 | Bad Request | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amzn-Remapped-Content-Length - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 401 | Unauthorized | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amzn-Remapped-Content-Length - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
public ApiResponse<Object> getGuestsWithHttpInfo(String email) throws ApiException
email - Email ID of the guest (optional)ApiException - If fail to call the API, e.g. server error or cannot
deserialize the response body
| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amzn-Remapped-Content-Length - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 400 | Bad Request | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amzn-Remapped-Content-Length - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 401 | Unauthorized | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amzn-Remapped-Content-Length - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
public okhttp3.Call getGuestsAsync(String email, ApiCallback<Object> _callback) throws ApiException
email - Email ID of the guest (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the
request body object
| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amzn-Remapped-Content-Length - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 400 | Bad Request | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amzn-Remapped-Content-Length - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 401 | Unauthorized | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amzn-Remapped-Content-Length - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
Copyright © 2023. All rights reserved.