POST Api/CommentsApi/Create
Request Information
URI Parameters
None.
Body Parameters
VisitCommentsDTO| Name | Description | Type | Additional 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-10-30T10:00:31.981078+04:00",
  "UpdatedBy": 1,
  "UpdatedOn": "2025-10-30T10:00:31.981078+04:00",
  "AgentId": 1,
  "Question": "sample string 6",
  "CreatedByName": "sample string 7",
  "UpdatedByName": "sample string 8",
  "JobTitleId": "23ee0b33-f0f1-43f6-a46a-10ff46e679b6",
  "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-10-30T10:00:31.981078+04:00","UpdatedBy":1,"UpdatedOn":"2025-10-30T10:00:31.981078+04:00","AgentId":1,"Question":"sample string 6","CreatedByName":"sample string 7","UpdatedByName":"sample string 8","JobTitleId":"23ee0b33-f0f1-43f6-a46a-10ff46e679b6","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-10-30T10:00:31.981078+04:00</CreatedOn> <EnJobTitle>sample string 9</EnJobTitle> <Id>1</Id> <JobTitleId>23ee0b33-f0f1-43f6-a46a-10ff46e679b6</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-10-30T10:00:31.981078+04:00</UpdatedOn> </VisitCommentsDTO>
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>