POST Api/QuestionApi/UpdateQuestionAnswer?QuestionTypeId={QuestionTypeId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| QuestionTypeId | string |
Required |
Body Parameters
Collection of PostVisitAnswersDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ScheduleCheckListId | integer |
Required Matching regular expression pattern: ^[0-9]*$ |
|
| QuestionId | integer |
Required Matching regular expression pattern: ^[0-9]*$ |
|
| AnswerId | integer |
Matching regular expression pattern: ^[0-9]*$ |
|
| AnswerText | string |
None. |
|
| AnswerRate | integer |
None. |
|
| AnswerDate | date |
Data type: DateTime |
|
| IsDeleted | boolean |
None. |
|
| QuestionStatus | integer |
None. |
|
| M_Priority | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"ScheduleCheckListId": 2,
"QuestionId": 3,
"AnswerId": 1,
"AnswerText": "sample string 4",
"AnswerRate": 1,
"AnswerDate": "2025-12-14T17:44:47.3191333+04:00",
"IsDeleted": true,
"QuestionStatus": 6,
"M_Priority": "2e3c25b2-ded9-453f-8a11-571bc08355d8"
},
{
"Id": 1,
"ScheduleCheckListId": 2,
"QuestionId": 3,
"AnswerId": 1,
"AnswerText": "sample string 4",
"AnswerRate": 1,
"AnswerDate": "2025-12-14T17:44:47.3191333+04:00",
"IsDeleted": true,
"QuestionStatus": 6,
"M_Priority": "2e3c25b2-ded9-453f-8a11-571bc08355d8"
}
]
text/html, multipart/form-data
Sample:
[{"Id":1,"ScheduleCheckListId":2,"QuestionId":3,"AnswerId":1,"AnswerText":"sample string 4","AnswerRate":1,"AnswerDate":"2025-12-14T17:44:47.3191333+04:00","IsDeleted":true,"QuestionStatus":6,"M_Priority":"2e3c25b2-ded9-453f-8a11-571bc08355d8"},{"Id":1,"ScheduleCheckListId":2,"QuestionId":3,"AnswerId":1,"AnswerText":"sample string 4","AnswerRate":1,"AnswerDate":"2025-12-14T17:44:47.3191333+04:00","IsDeleted":true,"QuestionStatus":6,"M_Priority":"2e3c25b2-ded9-453f-8a11-571bc08355d8"}]
application/xml, text/xml
Sample:
<ArrayOfPostVisitAnswersDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSMChecklistFlow.DTO">
<PostVisitAnswersDTO>
<AnswerDate>2025-12-14T17:44:47.3191333+04:00</AnswerDate>
<AnswerId>1</AnswerId>
<AnswerRate>1</AnswerRate>
<AnswerText>sample string 4</AnswerText>
<Id>1</Id>
<IsDeleted>true</IsDeleted>
<M_Priority>2e3c25b2-ded9-453f-8a11-571bc08355d8</M_Priority>
<QuestionId>3</QuestionId>
<QuestionStatus>6</QuestionStatus>
<ScheduleCheckListId>2</ScheduleCheckListId>
</PostVisitAnswersDTO>
<PostVisitAnswersDTO>
<AnswerDate>2025-12-14T17:44:47.3191333+04:00</AnswerDate>
<AnswerId>1</AnswerId>
<AnswerRate>1</AnswerRate>
<AnswerText>sample string 4</AnswerText>
<Id>1</Id>
<IsDeleted>true</IsDeleted>
<M_Priority>2e3c25b2-ded9-453f-8a11-571bc08355d8</M_Priority>
<QuestionId>3</QuestionId>
<QuestionStatus>6</QuestionStatus>
<ScheduleCheckListId>2</ScheduleCheckListId>
</PostVisitAnswersDTO>
</ArrayOfPostVisitAnswersDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
integerResponse Formats
application/json, text/json, text/html, multipart/form-data
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>