GET api/GetAllResponsesOfCourseByCourseandQuestionId?Cid={Cid}&Qid={Qid}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Cid | integer |
Required |
|
Qid | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ResponsesModelName | Description | Type | Additional information |
---|---|---|---|
Answer_Id | integer |
None. |
|
Answer | string |
None. |
|
DateTime | date |
None. |
|
Question_Id | integer |
None. |
|
Course_Id | integer |
None. |
|
User_Id | integer |
None. |
|
Status | boolean |
None. |
|
image | string |
None. |
|
Name | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Answer_Id": 1, "Answer": "sample string 2", "DateTime": "2024-11-21T08:35:17.8266049+00:00", "Question_Id": 1, "Course_Id": 1, "User_Id": 1, "Status": true, "image": "sample string 4", "Name": "sample string 5" }, { "Answer_Id": 1, "Answer": "sample string 2", "DateTime": "2024-11-21T08:35:17.8266049+00:00", "Question_Id": 1, "Course_Id": 1, "User_Id": 1, "Status": true, "image": "sample string 4", "Name": "sample string 5" } ]
application/xml, text/xml
Sample:
<ArrayOfResponsesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VullamAPIProject.Models"> <ResponsesModel> <Answer>sample string 2</Answer> <Answer_Id>1</Answer_Id> <Course_Id>1</Course_Id> <DateTime>2024-11-21T08:35:17.8266049+00:00</DateTime> <Name>sample string 5</Name> <Question_Id>1</Question_Id> <Status>true</Status> <User_Id>1</User_Id> <image>sample string 4</image> </ResponsesModel> <ResponsesModel> <Answer>sample string 2</Answer> <Answer_Id>1</Answer_Id> <Course_Id>1</Course_Id> <DateTime>2024-11-21T08:35:17.8266049+00:00</DateTime> <Name>sample string 5</Name> <Question_Id>1</Question_Id> <Status>true</Status> <User_Id>1</User_Id> <image>sample string 4</image> </ResponsesModel> </ArrayOfResponsesModel>