GET api/MemberCenterImport?schoolId={schoolId}

Gets list of tutors for the specified school

Request Information

URI Parameters

NameDescriptionTypeAdditional information
schoolId

The school identifier.

integer

Required

Body Parameters

None.

Response Information

Resource Description

StaffAndStudentsModel
NameDescriptionTypeAdditional information
Staff

Collection of BasicStaffModel

None.

Students

Collection of BasicStudentModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Staff": [
    {
      "StaffId": 1,
      "FirstName": "sample string 2",
      "LastName": "sample string 3"
    },
    {
      "StaffId": 1,
      "FirstName": "sample string 2",
      "LastName": "sample string 3"
    }
  ],
  "Students": [
    {
      "StudentId": 1,
      "StaffId": 2
    },
    {
      "StudentId": 1,
      "StaffId": 2
    }
  ]
}

application/xml, text/xml

Sample:
<StaffAndStudentsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LS_API.Models.MCIntegrationViewModel">
  <Staff>
    <BasicStaffModel>
      <FirstName>sample string 2</FirstName>
      <LastName>sample string 3</LastName>
      <StaffId>1</StaffId>
    </BasicStaffModel>
    <BasicStaffModel>
      <FirstName>sample string 2</FirstName>
      <LastName>sample string 3</LastName>
      <StaffId>1</StaffId>
    </BasicStaffModel>
  </Staff>
  <Students>
    <BasicStudentModel>
      <StaffId>2</StaffId>
      <StudentId>1</StudentId>
    </BasicStudentModel>
    <BasicStudentModel>
      <StaffId>2</StaffId>
      <StudentId>1</StudentId>
    </BasicStudentModel>
  </Students>
</StaffAndStudentsModel>