All URIs are relative to https://api.openmove.com
Method | HTTP request | Description |
---|---|---|
preferencesAddTicketPost | POST /preferences/add/ticket | Add ticket to user preferences |
preferencesAddTripPost | POST /preferences/add/trip | Add trip to user preferences |
preferencesAddValidationPost | POST /preferences/add/validation | Add validation to user counter |
preferencesGetRankingPost | POST /preferences/get/ranking | Get user rank position data |
preferencesGetTicketPost | POST /preferences/get/ticket | Get user tickets preferences |
preferencesGetTripPost | POST /preferences/get/trip | Get user trips preferences |
preferencesAddTicketPost(body)
Add ticket to user preferences
// Import classes:
//import com.openmove.api.PreferencesApi;
PreferencesApi apiInstance = new PreferencesApi();
Body8 body = new Body8(); // Body8 | add preferences request
try {
apiInstance.preferencesAddTicketPost(body);
} catch (ApiException e) {
System.err.println("Exception when calling PreferencesApi#preferencesAddTicketPost");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
body | Body8 | add preferences request |
null (empty response body)
- Content-Type: application/json
- Accept: Not defined
preferencesAddTripPost(body)
Add trip to user preferences
// Import classes:
//import com.openmove.api.PreferencesApi;
PreferencesApi apiInstance = new PreferencesApi();
Body9 body = new Body9(); // Body9 | add preferences request
try {
apiInstance.preferencesAddTripPost(body);
} catch (ApiException e) {
System.err.println("Exception when calling PreferencesApi#preferencesAddTripPost");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
body | Body9 | add preferences request |
null (empty response body)
- Content-Type: application/json
- Accept: Not defined
preferencesAddValidationPost(body)
Add validation to user counter
// Import classes:
//import com.openmove.api.PreferencesApi;
PreferencesApi apiInstance = new PreferencesApi();
Body13 body = new Body13(); // Body13 | user preferences request
try {
apiInstance.preferencesAddValidationPost(body);
} catch (ApiException e) {
System.err.println("Exception when calling PreferencesApi#preferencesAddValidationPost");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
body | Body13 | user preferences request |
null (empty response body)
- Content-Type: application/json
- Accept: Not defined
preferencesGetRankingPost(body)
Get user rank position data
// Import classes:
//import com.openmove.api.PreferencesApi;
PreferencesApi apiInstance = new PreferencesApi();
Body12 body = new Body12(); // Body12 | user preferences request
try {
apiInstance.preferencesGetRankingPost(body);
} catch (ApiException e) {
System.err.println("Exception when calling PreferencesApi#preferencesGetRankingPost");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
body | Body12 | user preferences request |
null (empty response body)
- Content-Type: application/json
- Accept: Not defined
preferencesGetTicketPost(body)
Get user tickets preferences
// Import classes:
//import com.openmove.api.PreferencesApi;
PreferencesApi apiInstance = new PreferencesApi();
Body10 body = new Body10(); // Body10 | preferences request
try {
apiInstance.preferencesGetTicketPost(body);
} catch (ApiException e) {
System.err.println("Exception when calling PreferencesApi#preferencesGetTicketPost");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
body | Body10 | preferences request |
null (empty response body)
- Content-Type: application/json
- Accept: Not defined
preferencesGetTripPost(body)
Get user trips preferences
// Import classes:
//import com.openmove.api.PreferencesApi;
PreferencesApi apiInstance = new PreferencesApi();
Body11 body = new Body11(); // Body11 | preferences request
try {
apiInstance.preferencesGetTripPost(body);
} catch (ApiException e) {
System.err.println("Exception when calling PreferencesApi#preferencesGetTripPost");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
body | Body11 | preferences request |
null (empty response body)
- Content-Type: application/json
- Accept: Not defined