All URIs are relative to https://api.flipdish.co
| Method | HTTP request | Description |
|---|---|---|
| driversAddDriverNotificationToken | POST /api/v1.0/drivers/token | |
| driversDeleteDriverProfileImage | DELETE /api/v1.0/drivers/profile/image | |
| driversDriverLogin | POST /api/v1.0/drivers/login | |
| driversDriverRequestLoginCodeSms | POST /api/v1.0/drivers/pin | |
| driversGetDriverProfile | GET /api/v1.0/drivers/profile | |
| driversGetStoresForDriver | GET /api/v1.0/drivers/assignedstores | |
| driversRemoveDriverNotificationToken | DELETE /api/v1.0/drivers/token | |
| driversSetDriverPresenceForStore | POST /api/v1.0/drivers/stores/{storeId}/presence/{presence} | |
| driversSetDriverProfileImage | POST /api/v1.0/drivers/profile/image | |
| driversUpdateDeliveryTrackingStatus | POST /api/v1.0/orders/{orderId}/tracking/{deliveryTrackingStatus} | |
| driversUpdateDriverProfile | POST /api/v1.0/drivers/profile |
Object driversAddDriverNotificationToken(updateDriverToken)
// 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.DriversApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
DriversApi apiInstance = new DriversApi();
UpdateDriverNotificationToken updateDriverToken = new UpdateDriverNotificationToken(); // UpdateDriverNotificationToken |
try {
Object result = apiInstance.driversAddDriverNotificationToken(updateDriverToken);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DriversApi#driversAddDriverNotificationToken");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| updateDriverToken | UpdateDriverNotificationToken |
Object
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml
Object driversDeleteDriverProfileImage()
// 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.DriversApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
DriversApi apiInstance = new DriversApi();
try {
Object result = apiInstance.driversDeleteDriverProfileImage();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DriversApi#driversDeleteDriverProfileImage");
e.printStackTrace();
}This endpoint does not need any parameter.
Object
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
Object driversDriverLogin(driverLoginModel)
// 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.DriversApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
DriversApi apiInstance = new DriversApi();
DriverLoginModel driverLoginModel = new DriverLoginModel(); // DriverLoginModel |
try {
Object result = apiInstance.driversDriverLogin(driverLoginModel);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DriversApi#driversDriverLogin");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| driverLoginModel | DriverLoginModel |
Object
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml
Object driversDriverRequestLoginCodeSms(driverRequestLoginPinModel)
// 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.DriversApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
DriversApi apiInstance = new DriversApi();
DriverRequestLoginPinModel driverRequestLoginPinModel = new DriverRequestLoginPinModel(); // DriverRequestLoginPinModel |
try {
Object result = apiInstance.driversDriverRequestLoginCodeSms(driverRequestLoginPinModel);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DriversApi#driversDriverRequestLoginCodeSms");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| driverRequestLoginPinModel | DriverRequestLoginPinModel |
Object
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml
Object driversGetDriverProfile()
// 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.DriversApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
DriversApi apiInstance = new DriversApi();
try {
Object result = apiInstance.driversGetDriverProfile();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DriversApi#driversGetDriverProfile");
e.printStackTrace();
}This endpoint does not need any parameter.
Object
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
Object driversGetStoresForDriver()
// 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.DriversApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
DriversApi apiInstance = new DriversApi();
try {
Object result = apiInstance.driversGetStoresForDriver();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DriversApi#driversGetStoresForDriver");
e.printStackTrace();
}This endpoint does not need any parameter.
Object
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
Object driversRemoveDriverNotificationToken(removeDriverToken)
// 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.DriversApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
DriversApi apiInstance = new DriversApi();
UpdateDriverNotificationToken removeDriverToken = new UpdateDriverNotificationToken(); // UpdateDriverNotificationToken |
try {
Object result = apiInstance.driversRemoveDriverNotificationToken(removeDriverToken);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DriversApi#driversRemoveDriverNotificationToken");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| removeDriverToken | UpdateDriverNotificationToken |
Object
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml
Object driversSetDriverPresenceForStore(storeId, presence)
// 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.DriversApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
DriversApi apiInstance = new DriversApi();
Integer storeId = 56; // Integer |
String presence = "presence_example"; // String |
try {
Object result = apiInstance.driversSetDriverPresenceForStore(storeId, presence);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DriversApi#driversSetDriverPresenceForStore");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | Integer | ||
| presence | String | [enum: Offline, Online] |
Object
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
Object driversSetDriverProfileImage()
// 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.DriversApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
DriversApi apiInstance = new DriversApi();
try {
Object result = apiInstance.driversSetDriverProfileImage();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DriversApi#driversSetDriverProfileImage");
e.printStackTrace();
}This endpoint does not need any parameter.
Object
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
Object driversUpdateDeliveryTrackingStatus(orderId, deliveryTrackingStatus)
// 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.DriversApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
DriversApi apiInstance = new DriversApi();
Integer orderId = 56; // Integer |
String deliveryTrackingStatus = "deliveryTrackingStatus_example"; // String |
try {
Object result = apiInstance.driversUpdateDeliveryTrackingStatus(orderId, deliveryTrackingStatus);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DriversApi#driversUpdateDeliveryTrackingStatus");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| orderId | Integer | ||
| deliveryTrackingStatus | String | [enum: Unassigned, Unaccepted, Accepted, Carrying, OnTheWay, ArrivedAtLocation, Delivered, CannotDeliver] |
Object
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
Object driversUpdateDriverProfile(updateDriverProfile)
// 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.DriversApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
DriversApi apiInstance = new DriversApi();
UpdateDriverProfileModel updateDriverProfile = new UpdateDriverProfileModel(); // UpdateDriverProfileModel |
try {
Object result = apiInstance.driversUpdateDriverProfile(updateDriverProfile);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DriversApi#driversUpdateDriverProfile");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| updateDriverProfile | UpdateDriverProfileModel |
Object
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml