GET api/HomePage/GetCourses?loginid={loginid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
loginid

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of GetAssignedCourses_Result
NameDescriptionTypeAdditional information
studentid

integer

None.

Courseid

integer

None.

batchtime

string

None.

StartDate

date

None.

EndDate

date

None.

coursename

string

None.

type

string

None.

DisplayName

string

None.

CCTest

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "studentid": 1,
    "Courseid": 1,
    "batchtime": "sample string 1",
    "StartDate": "2026-02-05T01:46:28.1890192+05:30",
    "EndDate": "2026-02-05T01:46:28.1890192+05:30",
    "coursename": "sample string 2",
    "type": "sample string 3",
    "DisplayName": "sample string 4",
    "CCTest": 1
  },
  {
    "studentid": 1,
    "Courseid": 1,
    "batchtime": "sample string 1",
    "StartDate": "2026-02-05T01:46:28.1890192+05:30",
    "EndDate": "2026-02-05T01:46:28.1890192+05:30",
    "coursename": "sample string 2",
    "type": "sample string 3",
    "DisplayName": "sample string 4",
    "CCTest": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfGetAssignedCourses_Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechcanvassWebApi">
  <GetAssignedCourses_Result>
    <CCTest>1</CCTest>
    <Courseid>1</Courseid>
    <DisplayName>sample string 4</DisplayName>
    <EndDate>2026-02-05T01:46:28.1890192+05:30</EndDate>
    <StartDate>2026-02-05T01:46:28.1890192+05:30</StartDate>
    <batchtime>sample string 1</batchtime>
    <coursename>sample string 2</coursename>
    <studentid>1</studentid>
    <type>sample string 3</type>
  </GetAssignedCourses_Result>
  <GetAssignedCourses_Result>
    <CCTest>1</CCTest>
    <Courseid>1</Courseid>
    <DisplayName>sample string 4</DisplayName>
    <EndDate>2026-02-05T01:46:28.1890192+05:30</EndDate>
    <StartDate>2026-02-05T01:46:28.1890192+05:30</StartDate>
    <batchtime>sample string 1</batchtime>
    <coursename>sample string 2</coursename>
    <studentid>1</studentid>
    <type>sample string 3</type>
  </GetAssignedCourses_Result>
</ArrayOfGetAssignedCourses_Result>