API — Training¶
The HTTP surface of the training request, the smallest module in the system: one controller, one
entity, and a fixed five-step approval driven by the usual ContextActions endpoint.
See Training module.
11 actions across 1 controller
Routing, the permission model, response kinds and error behaviour are described
once in the API Overview. Unless a row says otherwise the route is
/{Controller}/{Action}, id is a GUID string, and a Details page is a
full View while Manage* / Create fragments are PartialViews loaded into a modal.
TrainingController¶
Training requests through their fixed five-step approval, plus the project-level training dashboard and data export.
Source: NKO.Main/NKO.Main/Controllers/TrainingController .cs · route prefix: /Training · 11 actions · 0 ungated
| Route | Verb | Parameters | Permission | Returns |
|---|---|---|---|---|
/ |
POST | string id, int operation, int user, string id, int? Assigned |
Training |
Redirect |
/ |
GET | — | Training |
View |
/ |
POST | Training |
Training |
View / Redirect |
/ |
GET | int? user, int? filter, int? filter, int? filter, int? filter, int? page |
Training |
View |
/ |
GET | int? user, int? filter, int? filter, int? filter, int? filter, int? page |
Training |
View |
/ |
GET | string id |
Training |
PartialView / Redirect |
/ |
POST | Training |
Training |
JSON / Redirect |
/ |
GET | string id, int? filter, int? pdf, string msg, string error, int? page |
Training |
View |
/ |
POST | Training |
Training |
Redirect |
/ |
GET | int? user, int? filter, int? filter, int? filter, int? filter |
Training |
JSON |
/ |
GET | string search_param, string sort, int? filter, string search, string current, string Scurrent, int? filter, int? filter, int? page, int? user |
Training |
View |
Related¶
- Training module
- Training database
- API Overview — routing, auth, responses and error behaviour.