POST api/Feedback/PostFeedback
Request Information
URI Parameters
None.
Body Parameters
FeedbackDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| QuestionId | integer |
None. |
|
| QuestionTypeName | string |
None. |
|
| Question | string |
None. |
|
| OptionName | string |
None. |
|
| ScreeningId | integer |
None. |
|
| TransDate | date |
None. |
|
| UserId | string |
None. |
|
| IsCompleted | boolean |
None. |
|
| Age | integer |
None. |
|
| Gender | string |
None. |
|
| ScreeningFor | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"QuestionId": 1,
"QuestionTypeName": "sample string 2",
"Question": "sample string 3",
"OptionName": "sample string 4",
"ScreeningId": 1,
"TransDate": "2025-10-28T00:55:50.1120734+05:30",
"UserId": "sample string 6",
"IsCompleted": true,
"Age": 8,
"Gender": "sample string 9",
"ScreeningFor": "sample string 10"
}
application/xml, text/xml
Sample:
<FeedbackDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/General.Operation.CustomModels"> <Age>8</Age> <Gender>sample string 9</Gender> <IsCompleted>true</IsCompleted> <OptionName>sample string 4</OptionName> <Question>sample string 3</Question> <QuestionId>1</QuestionId> <QuestionTypeName>sample string 2</QuestionTypeName> <ScreeningFor>sample string 10</ScreeningFor> <ScreeningId>1</ScreeningId> <TransDate>2025-10-28T00:55:50.1120734+05:30</TransDate> <UserId>sample string 6</UserId> </FeedbackDetails>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SPErrorViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ErrorCode | integer |
None. |
|
| ErrorMessage | string |
None. |
|
| isCompleted | boolean |
None. |
|
| ScreeningId | integer |
None. |
|
| FeedbackId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"ErrorCode": 1,
"ErrorMessage": "sample string 2",
"isCompleted": true,
"ScreeningId": 4,
"FeedbackId": 5
}
application/xml, text/xml
Sample:
<SPErrorViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/General.Operation.Models"> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 2</ErrorMessage> <FeedbackId>5</FeedbackId> <ScreeningId>4</ScreeningId> <isCompleted>true</isCompleted> </SPErrorViewModel>