GET Api/QuestionApi/GetLowestScoreQuestion?CheckListId={CheckListId}&ScheduleId={ScheduleId}&NumberOfVisits={NumberOfVisits}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
CheckListId | integer |
Required |
|
ScheduleId | integer |
Required |
|
NumberOfVisits | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of QuestionStatsticsDTOName | Description | Type | Additional information |
---|---|---|---|
QuestionId | integer |
None. |
|
Question | string |
None. |
|
QNum | integer |
None. |
|
YesNum | integer |
None. |
|
NoNum | integer |
None. |
|
NaNum | integer |
None. |
|
NAnsNum | integer |
None. |
|
AnswerWeight | integer |
None. |
|
MaxmumWeight | integer |
None. |
|
EnQuestionType | string |
None. |
|
ArQuestionType | string |
None. |
|
M_QuestionType | globally unique identifier |
None. |
|
SectionScore | decimal number |
None. |
|
SectionName | string |
None. |
|
QuestionScore | integer |
None. |
|
No_Total | string |
None. |
|
RequireActionPlan | boolean |
None. |
|
QuestionComments | Collection of CustomVisitCommentsDTO |
None. |
|
AgentComments | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "QuestionId": 1, "Question": "sample string 2", "QNum": 1, "YesNum": 1, "NoNum": 1, "NaNum": 1, "NAnsNum": 1, "AnswerWeight": 1, "MaxmumWeight": 1, "EnQuestionType": "sample string 3", "ArQuestionType": "sample string 4", "M_QuestionType": "43a38a46-a840-4268-a9c0-89e287fd9346", "SectionScore": 1.0, "SectionName": "sample string 6", "QuestionScore": 1, "No_Total": "sample string 7", "RequireActionPlan": true, "QuestionComments": [ { "Id": 1, "ScheduleCheckListId": 1, "QuestionId": 2, "Comment": "sample string 3", "CreatedBy": 4, "CreatedOn": "2025-05-25T20:30:08.1878076+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-25T20:30:08.1878076+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 } ], "AgentComments": "sample string 9" }, { "QuestionId": 1, "Question": "sample string 2", "QNum": 1, "YesNum": 1, "NoNum": 1, "NaNum": 1, "NAnsNum": 1, "AnswerWeight": 1, "MaxmumWeight": 1, "EnQuestionType": "sample string 3", "ArQuestionType": "sample string 4", "M_QuestionType": "43a38a46-a840-4268-a9c0-89e287fd9346", "SectionScore": 1.0, "SectionName": "sample string 6", "QuestionScore": 1, "No_Total": "sample string 7", "RequireActionPlan": true, "QuestionComments": [ { "Id": 1, "ScheduleCheckListId": 1, "QuestionId": 2, "Comment": "sample string 3", "CreatedBy": 4, "CreatedOn": "2025-05-25T20:30:08.1878076+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-25T20:30:08.1878076+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 } ], "AgentComments": "sample string 9" } ]
text/html, multipart/form-data
Sample:
[{"QuestionId":1,"Question":"sample string 2","QNum":1,"YesNum":1,"NoNum":1,"NaNum":1,"NAnsNum":1,"AnswerWeight":1,"MaxmumWeight":1,"EnQuestionType":"sample string 3","ArQuestionType":"sample string 4","M_QuestionType":"43a38a46-a840-4268-a9c0-89e287fd9346","SectionScore":1.0,"SectionName":"sample string 6","QuestionScore":1,"No_Total":"sample string 7","RequireActionPlan":true,"QuestionComments":[{"Id":1,"ScheduleCheckListId":1,"QuestionId":2,"Comment":"sample string 3","CreatedBy":4,"CreatedOn":"2025-05-25T20:30:08.1878076+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-25T20:30:08.1878076+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}],"AgentComments":"sample string 9"},{"QuestionId":1,"Question":"sample string 2","QNum":1,"YesNum":1,"NoNum":1,"NaNum":1,"NAnsNum":1,"AnswerWeight":1,"MaxmumWeight":1,"EnQuestionType":"sample string 3","ArQuestionType":"sample string 4","M_QuestionType":"43a38a46-a840-4268-a9c0-89e287fd9346","SectionScore":1.0,"SectionName":"sample string 6","QuestionScore":1,"No_Total":"sample string 7","RequireActionPlan":true,"QuestionComments":[{"Id":1,"ScheduleCheckListId":1,"QuestionId":2,"Comment":"sample string 3","CreatedBy":4,"CreatedOn":"2025-05-25T20:30:08.1878076+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-25T20:30:08.1878076+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}],"AgentComments":"sample string 9"}]
application/xml, text/xml
Sample:
<ArrayOfQuestionStatsticsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSMChecklistFlow.DTO"> <QuestionStatsticsDTO> <AgentComments>sample string 9</AgentComments> <AnswerWeight>1</AnswerWeight> <ArQuestionType>sample string 4</ArQuestionType> <EnQuestionType>sample string 3</EnQuestionType> <M_QuestionType>43a38a46-a840-4268-a9c0-89e287fd9346</M_QuestionType> <MaxmumWeight>1</MaxmumWeight> <NAnsNum>1</NAnsNum> <NaNum>1</NaNum> <NoNum>1</NoNum> <No_Total>sample string 7</No_Total> <QNum>1</QNum> <Question>sample string 2</Question> <QuestionComments> <CustomVisitCommentsDTO> <ARJobTitle>sample string 8</ARJobTitle> <AgentSeen>true</AgentSeen> <Comment>sample string 3</Comment> <CommunicationComment>true</CommunicationComment> <CreatedBy>4</CreatedBy> <CreatedOn>2025-05-25T20:30:08.1878076+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-25T20:30:08.1878076+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> </QuestionComments> <QuestionId>1</QuestionId> <QuestionScore>1</QuestionScore> <RequireActionPlan>true</RequireActionPlan> <SectionName>sample string 6</SectionName> <SectionScore>1</SectionScore> <YesNum>1</YesNum> </QuestionStatsticsDTO> <QuestionStatsticsDTO> <AgentComments>sample string 9</AgentComments> <AnswerWeight>1</AnswerWeight> <ArQuestionType>sample string 4</ArQuestionType> <EnQuestionType>sample string 3</EnQuestionType> <M_QuestionType>43a38a46-a840-4268-a9c0-89e287fd9346</M_QuestionType> <MaxmumWeight>1</MaxmumWeight> <NAnsNum>1</NAnsNum> <NaNum>1</NaNum> <NoNum>1</NoNum> <No_Total>sample string 7</No_Total> <QNum>1</QNum> <Question>sample string 2</Question> <QuestionComments> <CustomVisitCommentsDTO> <ARJobTitle>sample string 8</ARJobTitle> <AgentSeen>true</AgentSeen> <Comment>sample string 3</Comment> <CommunicationComment>true</CommunicationComment> <CreatedBy>4</CreatedBy> <CreatedOn>2025-05-25T20:30:08.1878076+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-25T20:30:08.1878076+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> </QuestionComments> <QuestionId>1</QuestionId> <QuestionScore>1</QuestionScore> <RequireActionPlan>true</RequireActionPlan> <SectionName>sample string 6</SectionName> <SectionScore>1</SectionScore> <YesNum>1</YesNum> </QuestionStatsticsDTO> </ArrayOfQuestionStatsticsDTO>