POST Api/VisitAnswerAPI/Update
Request Information
URI Parameters
None.
Body Parameters
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": "2026-07-31T23:47:27.3762058+04:00",
"IsDeleted": true,
"QuestionStatus": 6,
"M_Priority": "94d6efcb-82d7-417a-897d-331445e22f19"
}
text/html, multipart/form-data
Sample:
{"Id":1,"ScheduleCheckListId":2,"QuestionId":3,"AnswerId":1,"AnswerText":"sample string 4","AnswerRate":1,"AnswerDate":"2026-07-31T23:47:27.3762058+04:00","IsDeleted":true,"QuestionStatus":6,"M_Priority":"94d6efcb-82d7-417a-897d-331445e22f19"}
application/xml, text/xml
Sample:
<PostVisitAnswersDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSMChecklistFlow.DTO"> <AnswerDate>2026-07-31T23:47:27.3762058+04:00</AnswerDate> <AnswerId>1</AnswerId> <AnswerRate>1</AnswerRate> <AnswerText>sample string 4</AnswerText> <Id>1</Id> <IsDeleted>true</IsDeleted> <M_Priority>94d6efcb-82d7-417a-897d-331445e22f19</M_Priority> <QuestionId>3</QuestionId> <QuestionStatus>6</QuestionStatus> <ScheduleCheckListId>2</ScheduleCheckListId> </PostVisitAnswersDTO>
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>