POST Api/CommentsApi/UpdateCommentsList

Request Information

URI Parameters

None.

Body Parameters

VisitCommentsListDTO
NameDescriptionTypeAdditional information
CommentsList

Collection of VisitCommentsDTO

None.

Request Formats

application/json, text/json

Sample:
{
  "CommentsList": [
    {
      "Id": 1,
      "ScheduleCheckListId": 1,
      "QuestionId": 2,
      "Comment": "sample string 3",
      "CreatedBy": 4,
      "CreatedOn": "2025-05-25T19:01:30.0676986+04:00",
      "UpdatedBy": 1,
      "UpdatedOn": "2025-05-25T19:01:30.0676986+04:00",
      "AgentId": 1,
      "Question": "sample string 6",
      "CreatedByName": "sample string 7",
      "UpdatedByName": "sample string 8",
      "JobTitleId": "db24c6bb-9915-46d1-8539-aac313147ce7",
      "EnJobTitle": "sample string 9",
      "ARJobTitle": "sample string 10",
      "ShowPAdmin": true,
      "ShowAgent": true,
      "ShowDAdmin": true,
      "Seen": true,
      "AgentSeen": true,
      "ProjectAdminOrder": 1,
      "CommunicationComment": true
    },
    {
      "Id": 1,
      "ScheduleCheckListId": 1,
      "QuestionId": 2,
      "Comment": "sample string 3",
      "CreatedBy": 4,
      "CreatedOn": "2025-05-25T19:01:30.0676986+04:00",
      "UpdatedBy": 1,
      "UpdatedOn": "2025-05-25T19:01:30.0676986+04:00",
      "AgentId": 1,
      "Question": "sample string 6",
      "CreatedByName": "sample string 7",
      "UpdatedByName": "sample string 8",
      "JobTitleId": "db24c6bb-9915-46d1-8539-aac313147ce7",
      "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:
{"CommentsList":[{"Id":1,"ScheduleCheckListId":1,"QuestionId":2,"Comment":"sample string 3","CreatedBy":4,"CreatedOn":"2025-05-25T19:01:30.0676986+04:00","UpdatedBy":1,"UpdatedOn":"2025-05-25T19:01:30.0676986+04:00","AgentId":1,"Question":"sample string 6","CreatedByName":"sample string 7","UpdatedByName":"sample string 8","JobTitleId":"db24c6bb-9915-46d1-8539-aac313147ce7","EnJobTitle":"sample string 9","ARJobTitle":"sample string 10","ShowPAdmin":true,"ShowAgent":true,"ShowDAdmin":true,"Seen":true,"AgentSeen":true,"ProjectAdminOrder":1,"CommunicationComment":true},{"Id":1,"ScheduleCheckListId":1,"QuestionId":2,"Comment":"sample string 3","CreatedBy":4,"CreatedOn":"2025-05-25T19:01:30.0676986+04:00","UpdatedBy":1,"UpdatedOn":"2025-05-25T19:01:30.0676986+04:00","AgentId":1,"Question":"sample string 6","CreatedByName":"sample string 7","UpdatedByName":"sample string 8","JobTitleId":"db24c6bb-9915-46d1-8539-aac313147ce7","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:
<VisitCommentsListDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSMChecklistFlow.DTO">
  <CommentsList>
    <VisitCommentsDTO>
      <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-25T19:01:30.0676986+04:00</CreatedOn>
      <EnJobTitle>sample string 9</EnJobTitle>
      <Id>1</Id>
      <JobTitleId>db24c6bb-9915-46d1-8539-aac313147ce7</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-25T19:01:30.0676986+04:00</UpdatedOn>
    </VisitCommentsDTO>
    <VisitCommentsDTO>
      <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-25T19:01:30.0676986+04:00</CreatedOn>
      <EnJobTitle>sample string 9</EnJobTitle>
      <Id>1</Id>
      <JobTitleId>db24c6bb-9915-46d1-8539-aac313147ce7</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-25T19:01:30.0676986+04:00</UpdatedOn>
    </VisitCommentsDTO>
  </CommentsList>
</VisitCommentsListDTO>

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 'VisitCommentsListDTO'.

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>