| HTTP Method | Route | Action Name | Parameters | Return Type |
|---|---|---|---|---|
| DELETE |
api/activity/{activityId}
|
DeleteActivity |
activityId
(Query)
|
Task<ActionResult>
|
| GET |
api/activity/{activityId}
|
GetById |
activityId
(Query)
|
Task<ActionResult<ActivityDto>>
|
| PUT |
api/activity/{activityId}
|
UpdateActivity |
activityId
(Query)
dto
(Body)
|
Task<ActionResult>
|
| GET |
api/activity/{activityId}/statistics
|
GetActivityStatistics |
activityId
(Query)
|
Task<ActionResult<ActivityStatisticsDto>>
|
| GET |
api/activity/available/{shareholderId}
|
GetAvailableActivitiesForShareholder |
shareholderId
(Query)
|
Task<ActionResult<IEnumerable<ShareholderActivityDto>>>
|
| GET |
api/activity/check-eligibility/{shareholderId}/{activityId}
|
CheckShareholderEligibility |
shareholderId
(Query)
activityId
(Query)
|
Task<ActionResult<Boolean>>
|
| GET |
api/activity/check-received/{shareholderId}/{activityId}
|
CheckShareholderReceived |
shareholderId
(Query)
activityId
(Query)
|
Task<ActionResult<Boolean>>
|
| POST |
api/activity/CreateActivity
|
CreateActivity |
dto
(Body)
|
Task<ActionResult<ActivityDto>>
|
| POST |
api/activity/eligibility
|
SetShareholderActivityEligibility |
dto
(Body)
|
Task<ActionResult>
|
| GET |
api/activity/fiscal-year/{fiscalYear}
|
GetByFiscalYear |
fiscalYear
(Query)
|
Task<ActionResult<IEnumerable<ActivityDto>>>
|
| GET |
api/activity/GetAllActive
|
GetAllActive | None |
Task<ActionResult<IEnumerable<ActivityDto>>>
|
| GET |
api/activity/history/{shareholderId}
|
GetShareholderActivityHistory |
shareholderId
(Query)
|
Task<ActionResult<IEnumerable<ShareholderActivityDto>>>
|
| POST |
api/activity/mark-received
|
MarkActivityAsReceived |
dto
(Body)
|
Task<ActionResult>
|
| GET |
api/activity/statistics
|
GetAllActivityStatistics | None |
Task<ActionResult<IEnumerable<ActivityStatisticsDto>>>
|
| GET |
api/activity/test
|
Test | None |
ActionResult<Object>
|
JS_Loading