GET api/Dashboard/GetTopFailedTopicsWithQuestions?accountId={accountId}&userId={userId}&roleId={roleId}&selectNumber={selectNumber}&startDate={startDate}&endDate={endDate}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
accountId | integer |
Required |
|
userId | string |
Required |
|
roleId | integer |
Required |
|
selectNumber | integer |
Required |
|
startDate | string |
Required |
|
endDate | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of FailedTopicsAndAssociatedQuestionsModelName | Description | Type | Additional information |
---|---|---|---|
TopicId | integer |
None. |
|
TopicName | string |
None. |
|
TopicFailedCount | integer |
None. |
|
FailedQuestions | Collection of FailedQuestionsModel |
None. |
Response Formats
application/json, text/json
Sample:
[ { "TopicId": 1, "TopicName": "sample string 2", "TopicFailedCount": 3, "FailedQuestions": [ { "TEGId": 1, "Question": "sample string 2", "QuestionFailedCount": 3 }, { "TEGId": 1, "Question": "sample string 2", "QuestionFailedCount": 3 } ] }, { "TopicId": 1, "TopicName": "sample string 2", "TopicFailedCount": 3, "FailedQuestions": [ { "TEGId": 1, "Question": "sample string 2", "QuestionFailedCount": 3 }, { "TEGId": 1, "Question": "sample string 2", "QuestionFailedCount": 3 } ] } ]
application/xml, text/xml
Sample:
<ArrayOfFailedTopicsAndAssociatedQuestionsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models.Dashboards"> <FailedTopicsAndAssociatedQuestionsModel> <FailedQuestions> <FailedQuestionsModel> <Question>sample string 2</Question> <QuestionFailedCount>3</QuestionFailedCount> <TEGId>1</TEGId> </FailedQuestionsModel> <FailedQuestionsModel> <Question>sample string 2</Question> <QuestionFailedCount>3</QuestionFailedCount> <TEGId>1</TEGId> </FailedQuestionsModel> </FailedQuestions> <TopicFailedCount>3</TopicFailedCount> <TopicId>1</TopicId> <TopicName>sample string 2</TopicName> </FailedTopicsAndAssociatedQuestionsModel> <FailedTopicsAndAssociatedQuestionsModel> <FailedQuestions> <FailedQuestionsModel> <Question>sample string 2</Question> <QuestionFailedCount>3</QuestionFailedCount> <TEGId>1</TEGId> </FailedQuestionsModel> <FailedQuestionsModel> <Question>sample string 2</Question> <QuestionFailedCount>3</QuestionFailedCount> <TEGId>1</TEGId> </FailedQuestionsModel> </FailedQuestions> <TopicFailedCount>3</TopicFailedCount> <TopicId>1</TopicId> <TopicName>sample string 2</TopicName> </FailedTopicsAndAssociatedQuestionsModel> </ArrayOfFailedTopicsAndAssociatedQuestionsModel>