POST Api/SummeryCommentsApi/Create

Request Information

URI Parameters

None.

Body Parameters

PostVisitSummeryCommentsDTO
NameDescriptionTypeAdditional information
Id

integer

None.

VisitSummery_Id

integer

None.

ScheduleCheckListId

integer

None.

SummeryTypeId

globally unique identifier

None.

Comment

string

None.

IsShow

boolean

None.

RequiredAction

boolean

None.

IsDeleted

boolean

None.

ShowPAdmin

boolean

None.

ShowAgent

boolean

None.

ShowDAdmin

boolean

None.

AgentSeen

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "VisitSummery_Id": 2,
  "ScheduleCheckListId": 1,
  "SummeryTypeId": "450dd464-3082-43a3-8e29-b176d2c86612",
  "Comment": "sample string 4",
  "IsShow": true,
  "RequiredAction": true,
  "IsDeleted": true,
  "ShowPAdmin": true,
  "ShowAgent": true,
  "ShowDAdmin": true,
  "AgentSeen": true
}

text/html, multipart/form-data

Sample:
{"Id":1,"VisitSummery_Id":2,"ScheduleCheckListId":1,"SummeryTypeId":"450dd464-3082-43a3-8e29-b176d2c86612","Comment":"sample string 4","IsShow":true,"RequiredAction":true,"IsDeleted":true,"ShowPAdmin":true,"ShowAgent":true,"ShowDAdmin":true,"AgentSeen":true}

application/xml, text/xml

Sample:
<PostVisitSummeryCommentsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSMChecklistFlow.DTO">
  <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>450dd464-3082-43a3-8e29-b176d2c86612</SummeryTypeId>
  <VisitSummery_Id>2</VisitSummery_Id>
</PostVisitSummeryCommentsDTO>

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

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>