This is intended to help conceptualize requests.
We recommend tools such as Postman or ApiDog for development and testing.
REQUEST Open GET Request >
POST https://api.kpaehs.com/v1/trainings.list { "token": "MY_TOKEN", "pretty": true }
RESPONSE
{ "ok": true, "trainings": [ { "title": "Driver Training", "created": 1476718839584, "includedTrainings_id": [], "renewalMonths": 12, "assignedToType": "limited", "assignedToCondition": { "data": { "fieldId": "driver", "settings": { "values": [ "true" ] } } }, "isHighlightedOnEmployeeProfile": false, "id": "5804f0f70ef50473af5871a8" }, { "title": "Ladder Safety", "created": 1476718839585, "lesson_id": 1026, "includedTrainings_id": [], "renewalMonths": 12, "assignedToType": "all", "assignedToCondition": {}, "Notes": "Be sure to contact Susan for schedule changes with this training.", "isHighlightedOnEmployeeProfile": false, "id": "5804f0f70ef50473af5871a9" }, { "title": "First Aid Training", "created": 1476718839586, "lesson_id": 1024, "includedTrainings_id": [], "renewalMonths": 12, "assignedToType": "all", "assignedToCondition": {}, "isHighlightedOnEmployeeProfile": false, "id": "5804f0f70ef50473af5871aa" }, { "title": "Acme Training", "created": 1476718839586, "lesson_id": 1025, "includedTrainings_id": [ "5804f0f70ef50473af5871c1", "5804f0f70ef50473af5871c2", "5804f0f70ef50473af5871c3" ], "renewalMonths": 0, "assignedToType": "all", "assignedToCondition": {}, "isHighlightedOnEmployeeProfile": true, "id": "5804f0f70ef50473af5871ab" }, { "_id": "5d0bb70139e474b615363590", "title": "On-Site H2S Training", "created": 1476718839586, "lesson_id": 1088, "scheduleType": "window", "window_lastOfferedDateNumber": 20180701, "window_closeDay": 1, "window_closeMonth": 8, "window_openDay": 1, "window_openMonth": 7, "window_requiredForNewEmployees": true, "window_tasksOutsideOfWindow": true, "requiredFor": { "criteria": null, "everyone": false }, "assignedToType": "none", "inAppAttachments": false, "isHighlightedOnEmployeeProfile": false, "includedTrainings_id": [] } ] }