GET api/Sites/{SiteId}/StudentActivities
Returns the Student Activities for a Site.
Request Information
URI Parameters
| Name | Description | Type | Additional 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| Name | Description | Type | Additional 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": "e0c1fe10-441f-4599-8a92-71e83474a73a",
"ActivityId": "c4a630c6-9627-425d-be17-6bc9cf964772",
"BeginDate": "2026-04-21T13:47:12.8160687-05:00",
"EndDate": "2026-04-21T13:47:12.8160687-05:00",
"Id": "88a28875-bb27-4b1c-94f2-f28db6e5690a",
"DataVersion": "sample string 6",
"ApiName": ""
},
{
"StudentId": "e0c1fe10-441f-4599-8a92-71e83474a73a",
"ActivityId": "c4a630c6-9627-425d-be17-6bc9cf964772",
"BeginDate": "2026-04-21T13:47:12.8160687-05:00",
"EndDate": "2026-04-21T13:47:12.8160687-05:00",
"Id": "88a28875-bb27-4b1c-94f2-f28db6e5690a",
"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">88a28875-bb27-4b1c-94f2-f28db6e5690a</Id>
<ActivityId>c4a630c6-9627-425d-be17-6bc9cf964772</ActivityId>
<BeginDate>2026-04-21T13:47:12.8160687-05:00</BeginDate>
<EndDate>2026-04-21T13:47:12.8160687-05:00</EndDate>
<StudentId>e0c1fe10-441f-4599-8a92-71e83474a73a</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">88a28875-bb27-4b1c-94f2-f28db6e5690a</Id>
<ActivityId>c4a630c6-9627-425d-be17-6bc9cf964772</ActivityId>
<BeginDate>2026-04-21T13:47:12.8160687-05:00</BeginDate>
<EndDate>2026-04-21T13:47:12.8160687-05:00</EndDate>
<StudentId>e0c1fe10-441f-4599-8a92-71e83474a73a</StudentId>
</StudentActivity>
</ArrayOfStudentActivity>