GET api/Sites/{SiteId}/StudentActivities

Returns the Student Activities for a Site.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
SiteId

Application identifier for the Site

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Collection of StudentActivity objects for the specified SiteId

Collection of StudentActivity
NameDescriptionTypeAdditional information
StudentId

The application identifier of the Student for the Student Activity.

globally unique identifier

None.

ActivityId

The application identifier of the Activity for the Student Activity.

globally unique identifier

None.

BeginDate

The begin date for the Student Activity.

date

None.

EndDate

The end date for the Student Activity.

date

None.

Id

The application identifier for the object. This cannot be changed by the user.

globally unique identifier

None.

DataVersion

The version of the API data

string

None.

ApiName

The name of the object without the Api suffix

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "StudentId": "9d3f5ac9-3b3f-4833-be1f-5848bbe31bdd",
    "ActivityId": "62bc2e49-a6f1-4777-af7d-fcd01f5dc359",
    "BeginDate": "2025-04-26T00:20:18.6493508-05:00",
    "EndDate": "2025-04-26T00:20:18.6493508-05:00",
    "Id": "4e44d0e3-116c-4eb4-9dbc-8b739524ce86",
    "DataVersion": "sample string 6",
    "ApiName": ""
  },
  {
    "StudentId": "9d3f5ac9-3b3f-4833-be1f-5848bbe31bdd",
    "ActivityId": "62bc2e49-a6f1-4777-af7d-fcd01f5dc359",
    "BeginDate": "2025-04-26T00:20:18.6493508-05:00",
    "EndDate": "2025-04-26T00:20:18.6493508-05:00",
    "Id": "4e44d0e3-116c-4eb4-9dbc-8b739524ce86",
    "DataVersion": "sample string 6",
    "ApiName": ""
  }
]

application/xml, text/xml

Sample:
<ArrayOfStudentActivity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi.v1">
  <StudentActivity>
    <DataVersion xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi">sample string 6</DataVersion>
    <Id xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi">4e44d0e3-116c-4eb4-9dbc-8b739524ce86</Id>
    <ActivityId>62bc2e49-a6f1-4777-af7d-fcd01f5dc359</ActivityId>
    <BeginDate>2025-04-26T00:20:18.6493508-05:00</BeginDate>
    <EndDate>2025-04-26T00:20:18.6493508-05:00</EndDate>
    <StudentId>9d3f5ac9-3b3f-4833-be1f-5848bbe31bdd</StudentId>
  </StudentActivity>
  <StudentActivity>
    <DataVersion xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi">sample string 6</DataVersion>
    <Id xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi">4e44d0e3-116c-4eb4-9dbc-8b739524ce86</Id>
    <ActivityId>62bc2e49-a6f1-4777-af7d-fcd01f5dc359</ActivityId>
    <BeginDate>2025-04-26T00:20:18.6493508-05:00</BeginDate>
    <EndDate>2025-04-26T00:20:18.6493508-05:00</EndDate>
    <StudentId>9d3f5ac9-3b3f-4833-be1f-5848bbe31bdd</StudentId>
  </StudentActivity>
</ArrayOfStudentActivity>