POST Api/AnswersApi/AddUpdatdeAdditionalAnswer
Request Information
URI Parameters
None.
Body Parameters
AnswersDTOName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Answer | string |
Required Matching regular expression pattern: ^[a-zA-Z ,-_']*$ String length: inclusive between 0 and 250 |
|
QuestionId | integer |
Required Matching regular expression pattern: ^[0-9]*$ |
|
CreatedBy | integer |
Matching regular expression pattern: ^[0-9]*$ |
|
CreatedOn | date |
Data type: DateTime |
|
UpdatedBy | integer |
Matching regular expression pattern: ^[0-9]*$ |
|
UpdatedOn | date |
Data type: DateTime |
|
IsActive | boolean |
Range: inclusive between false and true |
|
IsDeleted | boolean |
Range: inclusive between false and true |
|
AdditionalAnswer | boolean |
None. |
|
ScheduleCheckListId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Answer": "sample string 2", "QuestionId": 3, "CreatedBy": 4, "CreatedOn": "2025-05-25T18:40:15.6296693+04:00", "UpdatedBy": 1, "UpdatedOn": "2025-05-25T18:40:15.6296693+04:00", "IsActive": true, "IsDeleted": true, "AdditionalAnswer": true, "ScheduleCheckListId": 1 }
text/html, multipart/form-data
Sample:
{"Id":1,"Answer":"sample string 2","QuestionId":3,"CreatedBy":4,"CreatedOn":"2025-05-25T18:40:15.6296693+04:00","UpdatedBy":1,"UpdatedOn":"2025-05-25T18:40:15.6296693+04:00","IsActive":true,"IsDeleted":true,"AdditionalAnswer":true,"ScheduleCheckListId":1}
application/xml, text/xml
Sample:
<AnswersDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSMChecklistFlow.DTO"> <AdditionalAnswer>true</AdditionalAnswer> <Answer>sample string 2</Answer> <CreatedBy>4</CreatedBy> <CreatedOn>2025-05-25T18:40:15.6296693+04:00</CreatedOn> <Id>1</Id> <IsActive>true</IsActive> <IsDeleted>true</IsDeleted> <QuestionId>3</QuestionId> <ScheduleCheckListId>1</ScheduleCheckListId> <UpdatedBy>1</UpdatedBy> <UpdatedOn>2025-05-25T18:40:15.6296693+04:00</UpdatedOn> </AnswersDTO>
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>