POST api/surveys

Request Information

URI Parameters

None.

Body Parameters

Collection of StudentSurveyFormModel
NameDescriptionTypeAdditional information
ID

integer

None.

StudentId

integer

None.

FacultyId

integer

None.

SubjectId

integer

None.

SurveyFormId

integer

None.

SurveryQuestionId

integer

None.

AnswerText

string

None.

SurveyQuestionOptionId

integer

None.

SubmissionDate

date

None.

YearSemester

integer

None.

Year

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "StudentId": 2,
    "FacultyId": 1,
    "SubjectId": 3,
    "SurveyFormId": 4,
    "SurveryQuestionId": 5,
    "AnswerText": "sample string 6",
    "SurveyQuestionOptionId": 1,
    "SubmissionDate": "2024-12-22T21:39:48.8483546+05:00",
    "YearSemester": 8,
    "Year": 9
  },
  {
    "ID": 1,
    "StudentId": 2,
    "FacultyId": 1,
    "SubjectId": 3,
    "SurveyFormId": 4,
    "SurveryQuestionId": 5,
    "AnswerText": "sample string 6",
    "SurveyQuestionOptionId": 1,
    "SubmissionDate": "2024-12-22T21:39:48.8483546+05:00",
    "YearSemester": 8,
    "Year": 9
  }
]

text/xml

Sample:
<ArrayOfStudentSurveyFormModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BMU.LMS.BusinessObjects">
  <StudentSurveyFormModel>
    <AnswerText>sample string 6</AnswerText>
    <FacultyId>1</FacultyId>
    <ID>1</ID>
    <StudentId>2</StudentId>
    <SubjectId>3</SubjectId>
    <SubmissionDate>2024-12-22T21:39:48.8483546+05:00</SubmissionDate>
    <SurveryQuestionId>5</SurveryQuestionId>
    <SurveyFormId>4</SurveyFormId>
    <SurveyQuestionOptionId>1</SurveyQuestionOptionId>
    <Year>9</Year>
    <YearSemester>8</YearSemester>
  </StudentSurveyFormModel>
  <StudentSurveyFormModel>
    <AnswerText>sample string 6</AnswerText>
    <FacultyId>1</FacultyId>
    <ID>1</ID>
    <StudentId>2</StudentId>
    <SubjectId>3</SubjectId>
    <SubmissionDate>2024-12-22T21:39:48.8483546+05:00</SubmissionDate>
    <SurveryQuestionId>5</SurveryQuestionId>
    <SurveyFormId>4</SurveyFormId>
    <SurveyQuestionOptionId>1</SurveyQuestionOptionId>
    <Year>9</Year>
    <YearSemester>8</YearSemester>
  </StudentSurveyFormModel>
</ArrayOfStudentSurveyFormModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.