Domain

Retrieves the enrollments for a specific domain.
GET https://api.speaking-partner.com/v1/domains/{domain}/students/enrollments

URL Parameters

Name Required? Description
updatedSince Yes Unix time to search for record.
page No Page of results.

Example Request

GET: Domains/toshin/Students/Enrollments?updatedSince=1445040000

Example Response

{
  "CurrentPage": 0,
  "ItemsPerPage": 50,
  "NextPageUrl": "",
  "TotalPages": 0,
  "Enrollments": [
    {
      "Attended": true,
      "EnrollmentDate": 1445637227,
      "EnrollmentId": 1,
      "IsRefunded": false,
      "RefundReason": null,
      "RefundDate": null,
      "Feedback": null,
      "Student": {
        "Username": "parker",
        "FirstName": "Peter",
        "LastName": "Parker",
        "Domain": "Avengers",
        "Email": "dallan+s@gmail.com",
        "SkypeName": null,
        "Status": "Active",
        "TimeZone": "Tokyo Standard Time"
      },
      "Session": {
        "SessionId": 1,
        "StartDate": 1445908500,
        "EndDate": 1445909100,
        "IsSubstituted": true,
        "CancellationDate": null,
        "Name": "Zoomerang",
        "Billable": true,
        "Teacher": {
          "FirstName": "Ronald",
          "LastName": "Reagan",
          "TeacherId": 2
        },
        "Project": {
          "Name": "Zoom Dev Project",
          "ProjectId": 2
        }
      }
    }
  ]
}