POST Api/VisitAnswerAPI/Update
Request Information
URI Parameters
None.
Body Parameters
PostVisitAnswersDTOName | 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-05-25T18:40:15.7859069+04:00", "IsDeleted": true, "QuestionStatus": 6, "M_Priority": "733d144e-59d6-43fb-963f-51a227307890" }
text/html, multipart/form-data
Sample:
{"Id":1,"ScheduleCheckListId":2,"QuestionId":3,"AnswerId":1,"AnswerText":"sample string 4","AnswerRate":1,"AnswerDate":"2025-05-25T18:40:15.7859069+04:00","IsDeleted":true,"QuestionStatus":6,"M_Priority":"733d144e-59d6-43fb-963f-51a227307890"}
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>2025-05-25T18:40:15.7859069+04:00</AnswerDate> <AnswerId>1</AnswerId> <AnswerRate>1</AnswerRate> <AnswerText>sample string 4</AnswerText> <Id>1</Id> <IsDeleted>true</IsDeleted> <M_Priority>733d144e-59d6-43fb-963f-51a227307890</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>