The LearningPlanComponents table in OData provides information on every learning plan component for every learner and programme (including historic episodes).
The corresponding OData field that reflects the deadline for completing the component is ‘DueDate’ – which is showing as ‘Complete By’ field in the Learning Plan page.
For those components with associated Tasks, additional field will be showing in the Learning Plan to reflect the date the Task is scheduled on:
‘Due Date’ (Meeting, Assignment (task), Online training – external, End-Point Assessment, Mentoring, Shadowing components)
‘Dates’ (Offline learning (placement/workshop), Scheduled online event components)
Part of review meeting summary (Review components)
Since these fields are of Tasks origin, these are not available from LearningPlanComponents OData table.
However, to retrieve the component’s Task date, you can use the Tasks OData table instead, filtering the feed by the ‘LearningPlanComponentId’ field and selecting ‘Start’ field.
Example: ~/odata/1.0/Tasks?$filter=LearningPlanComponentId eq '1068'&$select=Id,LearningPlanComponentId,Start