POST Api/SummeryCommentsApi/UpdateSummeryCommentsList

Request Information

URI Parameters

None.

Body Parameters

VisitSummeryCommetsListDTO
NameDescriptionTypeAdditional information
CommentsList

Collection of PostVisitSummeryCommentsDTO

None.

Request Formats

application/json, text/json

Sample:
{
  "CommentsList": [
    {
      "Id": 1,
      "VisitSummery_Id": 2,
      "ScheduleCheckListId": 1,
      "SummeryTypeId": "d124866d-77d4-43e6-93f9-0d369894c41a",
      "Comment": "sample string 4",
      "IsShow": true,
      "RequiredAction": true,
      "IsDeleted": true,
      "ShowPAdmin": true,
      "ShowAgent": true,
      "ShowDAdmin": true,
      "AgentSeen": true
    },
    {
      "Id": 1,
      "VisitSummery_Id": 2,
      "ScheduleCheckListId": 1,
      "SummeryTypeId": "d124866d-77d4-43e6-93f9-0d369894c41a",
      "Comment": "sample string 4",
      "IsShow": true,
      "RequiredAction": true,
      "IsDeleted": true,
      "ShowPAdmin": true,
      "ShowAgent": true,
      "ShowDAdmin": true,
      "AgentSeen": true
    }
  ]
}

text/html, multipart/form-data

Sample:
{"CommentsList":[{"Id":1,"VisitSummery_Id":2,"ScheduleCheckListId":1,"SummeryTypeId":"d124866d-77d4-43e6-93f9-0d369894c41a","Comment":"sample string 4","IsShow":true,"RequiredAction":true,"IsDeleted":true,"ShowPAdmin":true,"ShowAgent":true,"ShowDAdmin":true,"AgentSeen":true},{"Id":1,"VisitSummery_Id":2,"ScheduleCheckListId":1,"SummeryTypeId":"d124866d-77d4-43e6-93f9-0d369894c41a","Comment":"sample string 4","IsShow":true,"RequiredAction":true,"IsDeleted":true,"ShowPAdmin":true,"ShowAgent":true,"ShowDAdmin":true,"AgentSeen":true}]}

application/xml, text/xml

Sample:
<VisitSummeryCommetsListDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSMChecklistFlow.DTO">
  <CommentsList>
    <PostVisitSummeryCommentsDTO>
      <AgentSeen>true</AgentSeen>
      <Comment>sample string 4</Comment>
      <Id>1</Id>
      <IsDeleted>true</IsDeleted>
      <IsShow>true</IsShow>
      <RequiredAction>true</RequiredAction>
      <ScheduleCheckListId>1</ScheduleCheckListId>
      <ShowAgent>true</ShowAgent>
      <ShowDAdmin>true</ShowDAdmin>
      <ShowPAdmin>true</ShowPAdmin>
      <SummeryTypeId>d124866d-77d4-43e6-93f9-0d369894c41a</SummeryTypeId>
      <VisitSummery_Id>2</VisitSummery_Id>
    </PostVisitSummeryCommentsDTO>
    <PostVisitSummeryCommentsDTO>
      <AgentSeen>true</AgentSeen>
      <Comment>sample string 4</Comment>
      <Id>1</Id>
      <IsDeleted>true</IsDeleted>
      <IsShow>true</IsShow>
      <RequiredAction>true</RequiredAction>
      <ScheduleCheckListId>1</ScheduleCheckListId>
      <ShowAgent>true</ShowAgent>
      <ShowDAdmin>true</ShowDAdmin>
      <ShowPAdmin>true</ShowPAdmin>
      <SummeryTypeId>d124866d-77d4-43e6-93f9-0d369894c41a</SummeryTypeId>
      <VisitSummery_Id>2</VisitSummery_Id>
    </PostVisitSummeryCommentsDTO>
  </CommentsList>
</VisitSummeryCommetsListDTO>

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

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>