© 2018 Capita Business Services Ltd. All rights reserved.

Capita Education Software Solutions is a trading name of Capita Business Services Ltd. Our Registered office is 30 Berners Street, London, W1T 3LR and our registered number is 02299747. Further information about Capita plc can be found in our legal statement.

SIMS 8 - V3 - Staff Service / Service Extended

Staff Service / Service Extended.

This information domain provides staff medical data, Most of the data is special category data under GDPR. 

Example Call

<Stem>Staff/V3/StaffServices
<Stem>Staff/V3/StaffServiceExtendeds

Definition

    public class TStaffService
    {
        public Guid ExternalID;
        public List<TStaffRoleAssignment> StaffRoleAssignments;
        public List<TStaffServiceRecord> StaffServiceRecords;
    }
    /// <summary>
    /// Service dates at the school
    /// </summary>
    public class TStaffRoleAssignment
    {
        public Guid ExternalID;
        public DateTime? ServiceStartDate;
        public DateTime? ServiceEndDate;
    }
    public class TStaffServiceRecord
    {
        public Guid ExternalID;
        public DateTime? StartDate;
        public DateTime? EndDate;
        public TStaffRoleRef StaffRole;

    }
    public class TStaffRoleRef : TReferenceClass { }
    public class TStaffServiceExtended
    {
        public Guid ExternalID;
        public string NationalInsuranceNumber;
        public List<TStaffServiceRecordDetails> StaffServiceRecordDetail;
    }
    public class TStaffServiceRecordDetails
    {
        public Guid ExternalID;
        public DateTime? ContinuousServiceStartDate;
        public DateTime? LocalAuthorityStartDate;
        public string PreviousEmployer;
        public string Destination;
        public string NextEmployer;
        public string Notes;
        public TReasonForLeaving ReasonForLeaving;
    }
    public class TReasonForLeaving : TReferenceClass { }

Example returns

{
    "@odata.context": "https://seli00apm01.azure-api.net/ssli01/Staff/v3/$metadata#StaffServices(StaffRoleAssignments())",
    "value": [
        {
            "ExternalID": "2eb1b5ff-f4f0-4822-8bb3-07945d4a098c",
            "StaffRoleAssignments": [
                {
                    "ExternalID": "9a6ae862-9f40-468a-afe5-daef53c7842a",
                    "StartDate": "2000-09-01T00:00:00Z",
                    "EndDate": null,
                    "StaffRole": {
                        "ExternalID": "f124a91f-5c6a-4b76-a05d-d5ea8387a35b",
                        "Type": "Staff.Lookup.StaffRole"
                    }
                }
            ]
        },
        {
            "ExternalID": "f0ed4b5e-601d-4203-9b37-0b968cafb799",
            "StaffRoleAssignments": [
                {
                    "ExternalID": "008d72ad-006c-4e97-bed1-ed50b6b0a855",
                    "StartDate": "2002-09-01T00:00:00Z",
                    "EndDate": null,
                    "StaffRole": {
                        "ExternalID": "f916b1e9-5493-41ef-896d-4a5466da2068",
                        "Type": "Staff.Lookup.StaffRole"
                    }
                }
            ]
        },

 

{
    "@odata.context": "https://seli00apm01.azure-api.net/ssli01/Staff/v3/$metadata#StaffServiceExtendeds(StaffServiceRecordDetails())",
    "value": [
        {
            "ExternalID": "2eb1b5ff-f4f0-4822-8bb3-07945d4a098c",
            "NationalInsuranceNumber": "YZ359217C",
            "StaffServiceRecordDetails": [
                {
                    "ExternalID": "129aa1ea-a186-4754-8311-90ebcf2d8207",
                    "ContinuousServiceStartDate": "1985-09-01T00:00:00Z",
                    "LocalAuthorityStartDate": "1991-01-01T00:00:00Z",
                    "PreviousEmployer": "Elmside Primary School",
                    "Destination": null,
                    "NextEmployer": null,
                    "Notes": null,
                    "ReasonForLeaving": null
                }
            ]
        },
        {
            "ExternalID": "f0ed4b5e-601d-4203-9b37-0b968cafb799",
            "NationalInsuranceNumber": "YP606273B",
            "StaffServiceRecordDetails": [
                {
                    "ExternalID": "1a8425a5-c482-4516-a3b4-3b05363214e5",
                    "ContinuousServiceStartDate": "1992-09-01T00:00:00Z",
                    "LocalAuthorityStartDate": "2002-09-01T00:00:00Z",
                    "PreviousEmployer": "Teacher Training College",
                    "Destination": null,
                    "NextEmployer": null,
                    "Notes": null,
                    "ReasonForLeaving": null
                }
            ]
        },