POST Api/QuestionApi/UpdateQuestionComment

Request Information

URI Parameters

None.

Body Parameters

VisitCommentsDTO
NameDescriptionTypeAdditional information
Id

integer

None.

ScheduleCheckListId

integer

Required

Matching regular expression pattern: ^[0-9]*$

QuestionId

integer

Required

Matching regular expression pattern: ^[0-9]*$

Comment

string

None.

CreatedBy

integer

Matching regular expression pattern: ^[0-9]*$

CreatedOn

date

Required

Data type: DateTime

UpdatedBy

integer

Matching regular expression pattern: ^[0-9]*$

UpdatedOn

date

Data type: DateTime

AgentId

integer

None.

Question

string

None.

CreatedByName

string

None.

UpdatedByName

string

None.

JobTitleId

globally unique identifier

None.

EnJobTitle

string

None.

ARJobTitle

string

None.

ShowPAdmin

boolean

None.

ShowAgent

boolean

None.

ShowDAdmin

boolean

None.

Seen

boolean

None.

AgentSeen

boolean

None.

ProjectAdminOrder

integer

None.

CommunicationComment

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ScheduleCheckListId": 1,
  "QuestionId": 2,
  "Comment": "sample string 3",
  "CreatedBy": 4,
  "CreatedOn": "2025-05-25T18:38:52.2745911+04:00",
  "UpdatedBy": 1,
  "UpdatedOn": "2025-05-25T18:38:52.2745911+04:00",
  "AgentId": 1,
  "Question": "sample string 6",
  "CreatedByName": "sample string 7",
  "UpdatedByName": "sample string 8",
  "JobTitleId": "9818df4f-0d87-4319-8ee5-cf64e030a160",
  "EnJobTitle": "sample string 9",
  "ARJobTitle": "sample string 10",
  "ShowPAdmin": true,
  "ShowAgent": true,
  "ShowDAdmin": true,
  "Seen": true,
  "AgentSeen": true,
  "ProjectAdminOrder": 1,
  "CommunicationComment": true
}

text/html, multipart/form-data

Sample:
{"Id":1,"ScheduleCheckListId":1,"QuestionId":2,"Comment":"sample string 3","CreatedBy":4,"CreatedOn":"2025-05-25T18:38:52.2745911+04:00","UpdatedBy":1,"UpdatedOn":"2025-05-25T18:38:52.2745911+04:00","AgentId":1,"Question":"sample string 6","CreatedByName":"sample string 7","UpdatedByName":"sample string 8","JobTitleId":"9818df4f-0d87-4319-8ee5-cf64e030a160","EnJobTitle":"sample string 9","ARJobTitle":"sample string 10","ShowPAdmin":true,"ShowAgent":true,"ShowDAdmin":true,"Seen":true,"AgentSeen":true,"ProjectAdminOrder":1,"CommunicationComment":true}

application/xml, text/xml

Sample:
<VisitCommentsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSMChecklistFlow.DTO">
  <ARJobTitle>sample string 10</ARJobTitle>
  <AgentId>1</AgentId>
  <AgentSeen>true</AgentSeen>
  <Comment>sample string 3</Comment>
  <CommunicationComment>true</CommunicationComment>
  <CreatedBy>4</CreatedBy>
  <CreatedByName>sample string 7</CreatedByName>
  <CreatedOn>2025-05-25T18:38:52.2745911+04:00</CreatedOn>
  <EnJobTitle>sample string 9</EnJobTitle>
  <Id>1</Id>
  <JobTitleId>9818df4f-0d87-4319-8ee5-cf64e030a160</JobTitleId>
  <ProjectAdminOrder>1</ProjectAdminOrder>
  <Question>sample string 6</Question>
  <QuestionId>2</QuestionId>
  <ScheduleCheckListId>1</ScheduleCheckListId>
  <Seen>true</Seen>
  <ShowAgent>true</ShowAgent>
  <ShowDAdmin>true</ShowDAdmin>
  <ShowPAdmin>true</ShowPAdmin>
  <UpdatedBy>1</UpdatedBy>
  <UpdatedByName>sample string 8</UpdatedByName>
  <UpdatedOn>2025-05-25T18:38:52.2745911+04:00</UpdatedOn>
</VisitCommentsDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'VisitCommentsDTO'.

Response Information

Resource Description

integer

Response 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>