GET api/GetDiscussionDataByCourseId?Cid={Cid}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Cid | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of DiscussionModelName | Description | Type | Additional information |
---|---|---|---|
Question_Id | integer |
None. |
|
Question | string |
None. |
|
Date | string |
None. |
|
Course_Id | integer |
None. |
|
User_Id | integer |
None. |
|
Description | string |
None. |
|
ProfileImage | string |
None. |
|
Replays | integer |
None. |
|
Name | string |
None. |
|
Replays1 | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Question_Id": 1, "Question": "sample string 2", "Date": "sample string 3", "Course_Id": 1, "User_Id": 1, "Description": "sample string 4", "ProfileImage": "sample string 5", "Replays": 6, "Name": "sample string 7", "Replays1": "sample string 8" }, { "Question_Id": 1, "Question": "sample string 2", "Date": "sample string 3", "Course_Id": 1, "User_Id": 1, "Description": "sample string 4", "ProfileImage": "sample string 5", "Replays": 6, "Name": "sample string 7", "Replays1": "sample string 8" } ]
application/xml, text/xml
Sample:
<ArrayOfDiscussionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VullamAPIProject.Models"> <DiscussionModel> <Course_Id>1</Course_Id> <Date>sample string 3</Date> <Description>sample string 4</Description> <Name>sample string 7</Name> <ProfileImage>sample string 5</ProfileImage> <Question>sample string 2</Question> <Question_Id>1</Question_Id> <Replays>6</Replays> <Replays1>sample string 8</Replays1> <User_Id>1</User_Id> </DiscussionModel> <DiscussionModel> <Course_Id>1</Course_Id> <Date>sample string 3</Date> <Description>sample string 4</Description> <Name>sample string 7</Name> <ProfileImage>sample string 5</ProfileImage> <Question>sample string 2</Question> <Question_Id>1</Question_Id> <Replays>6</Replays> <Replays1>sample string 8</Replays1> <User_Id>1</User_Id> </DiscussionModel> </ArrayOfDiscussionModel>