GET api/StudentDiscussion/LoadQuestionOrAnswersForPost?postId={postId}&divisionId={divisionId}®istrationId={registrationId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| postId | integer |
Required |
|
| divisionId | integer |
Default value is 0 |
|
| registrationId | integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
QuestionOrAnswers| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Description | string |
None. |
|
| PeriodId | integer |
None. |
|
| SubjectId | integer |
None. |
|
| SubjectName | string |
None. |
|
| UserName | string |
None. |
|
| UserType | string |
None. |
|
| FromUser | integer |
None. |
|
| ToUser | integer |
None. |
|
| ParentId |
response To |
integer |
None. |
| CreatedDate | date |
None. |
|
| ModifiedDate | date |
None. |
|
| DateAndTimeText | string |
None. |
|
| RegistrationId | integer |
None. |
|
| QuestionClosed | boolean |
None. |
|
| UploadedFile | HttpPostedFileBase |
None. |
|
| Attachementfile | string |
None. |
|
| Attachementfilenameextension | string |
None. |
|
| ProfilePicture | string |
None. |
|
| PostReplies | Collection of QuestionOrAnswers |
None. |
|
| lstAttachments | Collection of SelectListItem |
None. |
|
| SubjectType |
Gets or sets the subject type, i.e scheduled subjects or course material subjects |
string |
None. |
| CourseMaterialTypeShortCode |
Gets or sets the course material type short code |
string |
None. |
| IsQuestionToInstrcutorAllowed | boolean |
None. |
|
| IsDiscussionForumAllowed | boolean |
None. |
|
| CourseDisciplineId | integer |
None. |
|
| StudentEnrollmentId | integer |
None. |
|
| FollowUpCount | integer |
None. |
|
| PeriodDescription | string |
None. |
Response Formats
application/json
Sample:
text/json
Sample: