POST Api/VisitAnswerAPI/AddUpdateVisit
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-09-14T10:20:31.5261903+04:00", "IsDeleted": true, "QuestionStatus": 6, "M_Priority": "1af245a8-ea93-4fd3-83df-9f3d669a4789" }
text/html, multipart/form-data
Sample:
{"Id":1,"ScheduleCheckListId":2,"QuestionId":3,"AnswerId":1,"AnswerText":"sample string 4","AnswerRate":1,"AnswerDate":"2025-09-14T10:20:31.5261903+04:00","IsDeleted":true,"QuestionStatus":6,"M_Priority":"1af245a8-ea93-4fd3-83df-9f3d669a4789"}
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-09-14T10:20:31.5261903+04:00</AnswerDate> <AnswerId>1</AnswerId> <AnswerRate>1</AnswerRate> <AnswerText>sample string 4</AnswerText> <Id>1</Id> <IsDeleted>true</IsDeleted> <M_Priority>1af245a8-ea93-4fd3-83df-9f3d669a4789</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>