GET restapi/personal/workload/assignments/{studentId}/{courseId}/v1?PageIndex={PageIndex}&PageSize={PageSize}

Gets a list of assignments for a particular student in a particular course with corresponding workload

Request Information

URI Parameters

NameDescriptionTypeAdditional information
studentId

The PersonID of the student.

integer

Required

courseId

The ID of the course.

integer

Required

PageIndex

integer

None.

PageSize

integer

None.

Body Parameters

None.

Response Information

Resource Description

This method returns a collection of entity . Each entity contains the details of an assignment for a particular student, and its workload.

EntityListOfItslearning.RestApi.Entities.LearningToolElementAnswerWithWorkload
NameDescriptionTypeAdditional information
EntityArray

Collection of Itslearning.RestApi.Entities.LearningToolElementAnswerWithWorkload

None.

Total

integer

None.

CurrentPageIndex

integer

None.

PageSize

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "EntityArray": [
    {
      "AnswerId": 1,
      "UserIds": [
        1,
        2
      ],
      "AssessmentStatus": {
        "AssessmentStatusItemId": 1,
        "AssessmentStatusId": 2,
        "Title": "sample string 3",
        "Editable": true,
        "Completed": true,
        "Submitted": true,
        "NotSubmitted": true
      },
      "Deadline": "sample string 2",
      "Url": "sample string 3",
      "LearningObjectId": 4,
      "LearningObjectInstanceId": 5,
      "UserId": 6,
      "Workload": "NotSet",
      "WorkloadDisplay": "sample string 7",
      "WorkloadEstimation": 8,
      "ElementId": 9,
      "ElementType": 10,
      "Title": "sample string 11",
      "LearningToolId": 12,
      "ElementOrder": 13,
      "ActiveFromDT": "2025-06-18T13:54:23Z",
      "ActiveToDT": "2025-06-18T13:54:23Z",
      "DeadlineDT": "2025-06-18T13:54:23Z"
    },
    {
      "AnswerId": 1,
      "UserIds": [
        1,
        2
      ],
      "AssessmentStatus": {
        "AssessmentStatusItemId": 1,
        "AssessmentStatusId": 2,
        "Title": "sample string 3",
        "Editable": true,
        "Completed": true,
        "Submitted": true,
        "NotSubmitted": true
      },
      "Deadline": "sample string 2",
      "Url": "sample string 3",
      "LearningObjectId": 4,
      "LearningObjectInstanceId": 5,
      "UserId": 6,
      "Workload": "NotSet",
      "WorkloadDisplay": "sample string 7",
      "WorkloadEstimation": 8,
      "ElementId": 9,
      "ElementType": 10,
      "Title": "sample string 11",
      "LearningToolId": 12,
      "ElementOrder": 13,
      "ActiveFromDT": "2025-06-18T13:54:23Z",
      "ActiveToDT": "2025-06-18T13:54:23Z",
      "DeadlineDT": "2025-06-18T13:54:23Z"
    }
  ],
  "Total": 1,
  "CurrentPageIndex": 2,
  "PageSize": 3
}

application/xml, text/xml

Sample:
<EntityList xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <CurrentPageIndex>2</CurrentPageIndex>
  <EntityArray>
    <LearningToolElementAnswerWithWorkload>
      <ActiveFromDT>2025-06-18T13:54:23Z</ActiveFromDT>
      <ActiveToDT>2025-06-18T13:54:23Z</ActiveToDT>
      <DeadlineDT>2025-06-18T13:54:23Z</DeadlineDT>
      <ElementId>9</ElementId>
      <ElementOrder>13</ElementOrder>
      <ElementType>10</ElementType>
      <LearningToolId>12</LearningToolId>
      <Title>sample string 11</Title>
      <Workload>NotSet</Workload>
      <WorkloadDisplay>sample string 7</WorkloadDisplay>
      <WorkloadEstimation>8</WorkloadEstimation>
      <LearningObjectId>4</LearningObjectId>
      <LearningObjectInstanceId>5</LearningObjectInstanceId>
      <UserId>6</UserId>
      <AnswerId>1</AnswerId>
      <AssessmentStatus xmlns:d4p1="http://schemas.datacontract.org/2004/07/Itslearning.Platform.RestApi.Sdk.LearningToolApp.Entities">
        <d4p1:AssessmentStatusId>2</d4p1:AssessmentStatusId>
        <d4p1:AssessmentStatusItemId>1</d4p1:AssessmentStatusItemId>
        <d4p1:Completed>true</d4p1:Completed>
        <d4p1:Editable>true</d4p1:Editable>
        <d4p1:NotSubmitted>true</d4p1:NotSubmitted>
        <d4p1:Submitted>true</d4p1:Submitted>
        <d4p1:Title>sample string 3</d4p1:Title>
      </AssessmentStatus>
      <Deadline>sample string 2</Deadline>
      <Url>sample string 3</Url>
      <UserIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </UserIds>
    </LearningToolElementAnswerWithWorkload>
    <LearningToolElementAnswerWithWorkload>
      <ActiveFromDT>2025-06-18T13:54:23Z</ActiveFromDT>
      <ActiveToDT>2025-06-18T13:54:23Z</ActiveToDT>
      <DeadlineDT>2025-06-18T13:54:23Z</DeadlineDT>
      <ElementId>9</ElementId>
      <ElementOrder>13</ElementOrder>
      <ElementType>10</ElementType>
      <LearningToolId>12</LearningToolId>
      <Title>sample string 11</Title>
      <Workload>NotSet</Workload>
      <WorkloadDisplay>sample string 7</WorkloadDisplay>
      <WorkloadEstimation>8</WorkloadEstimation>
      <LearningObjectId>4</LearningObjectId>
      <LearningObjectInstanceId>5</LearningObjectInstanceId>
      <UserId>6</UserId>
      <AnswerId>1</AnswerId>
      <AssessmentStatus xmlns:d4p1="http://schemas.datacontract.org/2004/07/Itslearning.Platform.RestApi.Sdk.LearningToolApp.Entities">
        <d4p1:AssessmentStatusId>2</d4p1:AssessmentStatusId>
        <d4p1:AssessmentStatusItemId>1</d4p1:AssessmentStatusItemId>
        <d4p1:Completed>true</d4p1:Completed>
        <d4p1:Editable>true</d4p1:Editable>
        <d4p1:NotSubmitted>true</d4p1:NotSubmitted>
        <d4p1:Submitted>true</d4p1:Submitted>
        <d4p1:Title>sample string 3</d4p1:Title>
      </AssessmentStatus>
      <Deadline>sample string 2</Deadline>
      <Url>sample string 3</Url>
      <UserIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </UserIds>
    </LearningToolElementAnswerWithWorkload>
  </EntityArray>
  <PageSize>3</PageSize>
  <Total>1</Total>
</EntityList>