GET Api/CommentsApi/GetQuestionCommentsByScheduleId?scheduleChecklistId={scheduleChecklistId}&questionId={questionId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
scheduleChecklistId | integer |
Required |
|
questionId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CustomVisitCommentsDTOName | 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 |
Required |
|
CreatedBy | integer |
None. |
|
CreatedOn | date |
None. |
|
IsDeleted | boolean |
None. |
|
InitialName | string |
None. |
|
EnJobTitle | string |
None. |
|
ARJobTitle | string |
None. |
|
ProjectAdminOrder | integer |
None. |
|
CommunicationComment | boolean |
None. |
|
ShowPAdmin | boolean |
None. |
|
ShowAgent | boolean |
None. |
|
ShowDAdmin | boolean |
None. |
|
Seen | boolean |
None. |
|
AgentSeen | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "ScheduleCheckListId": 1, "QuestionId": 2, "Comment": "sample string 3", "CreatedBy": 4, "CreatedOn": "2025-05-25T19:36:54.6520651+04:00", "IsDeleted": true, "InitialName": "sample string 6", "EnJobTitle": "sample string 7", "ARJobTitle": "sample string 8", "ProjectAdminOrder": 1, "CommunicationComment": true, "ShowPAdmin": true, "ShowAgent": true, "ShowDAdmin": true, "Seen": true, "AgentSeen": true }, { "Id": 1, "ScheduleCheckListId": 1, "QuestionId": 2, "Comment": "sample string 3", "CreatedBy": 4, "CreatedOn": "2025-05-25T19:36:54.6520651+04:00", "IsDeleted": true, "InitialName": "sample string 6", "EnJobTitle": "sample string 7", "ARJobTitle": "sample string 8", "ProjectAdminOrder": 1, "CommunicationComment": true, "ShowPAdmin": true, "ShowAgent": true, "ShowDAdmin": true, "Seen": true, "AgentSeen": true } ]
text/html, multipart/form-data
Sample:
[{"Id":1,"ScheduleCheckListId":1,"QuestionId":2,"Comment":"sample string 3","CreatedBy":4,"CreatedOn":"2025-05-25T19:36:54.6520651+04:00","IsDeleted":true,"InitialName":"sample string 6","EnJobTitle":"sample string 7","ARJobTitle":"sample string 8","ProjectAdminOrder":1,"CommunicationComment":true,"ShowPAdmin":true,"ShowAgent":true,"ShowDAdmin":true,"Seen":true,"AgentSeen":true},{"Id":1,"ScheduleCheckListId":1,"QuestionId":2,"Comment":"sample string 3","CreatedBy":4,"CreatedOn":"2025-05-25T19:36:54.6520651+04:00","IsDeleted":true,"InitialName":"sample string 6","EnJobTitle":"sample string 7","ARJobTitle":"sample string 8","ProjectAdminOrder":1,"CommunicationComment":true,"ShowPAdmin":true,"ShowAgent":true,"ShowDAdmin":true,"Seen":true,"AgentSeen":true}]
application/xml, text/xml
Sample:
<ArrayOfCustomVisitCommentsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSMChecklistFlow.DTO"> <CustomVisitCommentsDTO> <ARJobTitle>sample string 8</ARJobTitle> <AgentSeen>true</AgentSeen> <Comment>sample string 3</Comment> <CommunicationComment>true</CommunicationComment> <CreatedBy>4</CreatedBy> <CreatedOn>2025-05-25T19:36:54.6520651+04:00</CreatedOn> <EnJobTitle>sample string 7</EnJobTitle> <Id>1</Id> <InitialName>sample string 6</InitialName> <IsDeleted>true</IsDeleted> <ProjectAdminOrder>1</ProjectAdminOrder> <QuestionId>2</QuestionId> <ScheduleCheckListId>1</ScheduleCheckListId> <Seen>true</Seen> <ShowAgent>true</ShowAgent> <ShowDAdmin>true</ShowDAdmin> <ShowPAdmin>true</ShowPAdmin> </CustomVisitCommentsDTO> <CustomVisitCommentsDTO> <ARJobTitle>sample string 8</ARJobTitle> <AgentSeen>true</AgentSeen> <Comment>sample string 3</Comment> <CommunicationComment>true</CommunicationComment> <CreatedBy>4</CreatedBy> <CreatedOn>2025-05-25T19:36:54.6520651+04:00</CreatedOn> <EnJobTitle>sample string 7</EnJobTitle> <Id>1</Id> <InitialName>sample string 6</InitialName> <IsDeleted>true</IsDeleted> <ProjectAdminOrder>1</ProjectAdminOrder> <QuestionId>2</QuestionId> <ScheduleCheckListId>1</ScheduleCheckListId> <Seen>true</Seen> <ShowAgent>true</ShowAgent> <ShowDAdmin>true</ShowDAdmin> <ShowPAdmin>true</ShowPAdmin> </CustomVisitCommentsDTO> </ArrayOfCustomVisitCommentsDTO>