Package net.daveray.rewardsapi.rest
Class RewardsController
java.lang.Object
net.daveray.rewardsapi.rest.RewardsController
RewardsController is the RestController for the API
provides the Rest API endpoints
- http://localhost:8080/api/v1/rewards
- http://localhost:8080/api/v1/rewards/{month}
- http://localhost:8080/api/v1/rewards/{month}/{customerId}
- http://localhost:8080/api/v1/rewards/{firstMonth}/{customerId}/{lastMonth}
- Since:
- November 2023
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionerror()rewardsAllMonths(String month) rewardsSingle(String month, String customerId) rewardsSingleMonths(String monthBegin, String customerId, String monthEnd)
-
Constructor Details
-
RewardsController
public RewardsController()
-
-
Method Details
-
rewardsAll
-
rewardsAllMonths
-
rewardsSingle
-
rewardsSingleMonths
-
error
-