All URIs are relative to /
Method | HTTP request | Description |
---|---|---|
getSkierDayVertical | GET /skiers/{resortID}/days/{dayID}/skiers/{skierID} | |
getSkierResortTotals | GET /skiers/{skierID}/vertical | get the total vertical for the skier for the specified resort |
writeNewLiftRide | POST /skiers/liftrides | write a new lift ride for the skier |
SkierVertical getSkierDayVertical(resortID, dayID, skierID)
get the total vertical for the skier for the specified ski day
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.SkiersApi;
SkiersApi apiInstance = new SkiersApi();
String resortID = "resortID_example"; // String | ID of the resort the skier is at
String dayID = "dayID_example"; // String | ID number of ski day in the ski season
String skierID = "skierID_example"; // String | ID of the skier riding the lift
try {
SkierVertical result = apiInstance.getSkierDayVertical(resortID, dayID, skierID);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling SkiersApi#getSkierDayVertical");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
resortID | String | ID of the resort the skier is at | |
dayID | String | ID number of ski day in the ski season | |
skierID | String | ID of the skier riding the lift |
No authorization required
- Content-Type: Not defined
- Accept: application/json
SkierVertical getSkierResortTotals(skierID, resort)
get the total vertical for the skier for the specified resort
get the total vertical for the skier the specified resort.
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.SkiersApi;
SkiersApi apiInstance = new SkiersApi();
String skierID = "skierID_example"; // String | ID the skier to retrieve data for
List<String> resort = Arrays.asList("resort_example"); // List<String> | resort to filter by
try {
SkierVertical result = apiInstance.getSkierResortTotals(skierID, resort);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling SkiersApi#getSkierResortTotals");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
skierID | String | ID the skier to retrieve data for | |
resort | List<String> | resort to filter by |
No authorization required
- Content-Type: Not defined
- Accept: application/json
writeNewLiftRide(body)
write a new lift ride for the skier
Stores new lift ride details in the data store
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.SkiersApi;
SkiersApi apiInstance = new SkiersApi();
LiftRide body = new LiftRide(); // LiftRide | information for new lift ride event
try {
apiInstance.writeNewLiftRide(body);
} catch (ApiException e) {
System.err.println("Exception when calling SkiersApi#writeNewLiftRide");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
body | LiftRide | information for new lift ride event |
null (empty response body)
No authorization required
- Content-Type: application/json
- Accept: application/json