All URIs are relative to https://api.flipdish.co
| Method | HTTP request | Description |
|---|---|---|
| createFpmForStore | POST /api/v1.0/{storeId}/fpm | |
| deleteFpmForStore | DELETE /api/v1.0/{storeId}/fpm | |
| editFpmForStore | POST /api/v1.0/{storeId}/fpm/edit | |
| getFpmForStore | GET /api/v1.0/{storeId}/fpm |
Object createFpmForStore(storeId, phoneNumber)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.FpmApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
FpmApi apiInstance = new FpmApi();
Integer storeId = 56; // Integer |
String phoneNumber = "phoneNumber_example"; // String |
try {
Object result = apiInstance.createFpmForStore(storeId, phoneNumber);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling FpmApi#createFpmForStore");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Integer | ||
| phoneNumber | String |
Object
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
deleteFpmForStore(storeId)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.FpmApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
FpmApi apiInstance = new FpmApi();
Integer storeId = 56; // Integer |
try {
apiInstance.deleteFpmForStore(storeId);
} catch (ApiException e) {
System.err.println("Exception when calling FpmApi#deleteFpmForStore");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Integer |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
editFpmForStore(storeId, telephonyConfig)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.FpmApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
FpmApi apiInstance = new FpmApi();
Integer storeId = 56; // Integer |
TelephonyConfig telephonyConfig = new TelephonyConfig(); // TelephonyConfig |
try {
apiInstance.editFpmForStore(storeId, telephonyConfig);
} catch (ApiException e) {
System.err.println("Exception when calling FpmApi#editFpmForStore");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Integer | ||
| telephonyConfig | TelephonyConfig |
null (empty response body)
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml
TelephonyConfig getFpmForStore(storeId)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.FpmApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
FpmApi apiInstance = new FpmApi();
Integer storeId = 56; // Integer |
try {
TelephonyConfig result = apiInstance.getFpmForStore(storeId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling FpmApi#getFpmForStore");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Integer |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml