Diagnostic results query
GET/results/:scenarioId/query/diagnostics/goal/:goalId
Retrieves the extracted data results for the given diagnostics. The diagnosticTypes request param includes all the diagnostics runs in the payload of the trigger diagnose goal as comma separated values.
Request
Path Parameters
The scenario's id
The goal's id
Query Parameters
Possible values: [EXPENSE_LIVING_EXPENSES_DECREASE
, EXPENSE_RENT_VS_MORTGAGE_ON_RESIDENTIAL_PROPERTY
, EXPENSE_MORTGAGE_ON_RESIDENTIAL_PROPERTY_VS_RENT
, INCOME_EARNED_INCOME_INCREASE_PRIMARY
, INCOME_EARNED_INCOME_INCREASE_PARTNER
, INCOME_WORK_PART_TIME_AFTER_RETIREMENT_PRIMARY
, INCOME_WORK_PART_TIME_AFTER_RETIREMENT_PARTNER
, GOAL_SWITCH_OFF_EARLIER_GOALS
, GOAL_SPEND_LESS_MONEY_ON_GOAL
, GOAL_MOVE_IT_TO_THE_FUTURE
, GOAL_BUY_A_HOUSE_DOWNPAYMENT
, GOAL_BUY_A_HOUSE_MORTGAGE_AFFORDABILITY
, GOAL_BORROW
, GOAL_SAVE_IN_YEARS
, PROPERTY_MOVE_TO_SMALLER_PROPERTY
, PROPERTY_SELL_BUY_TO_LET_PROPERTIES
, DEBT_RESIDENTIAL_PROPERTIES_REMORTGAGE
, DEBT_INVESTMENT_PROPERTIES_REMORTGAGE
, DEBT_ELIMINATE_DEBT
, WRAPPER_TAX_ADVANTAGED_RISK_INCREASE_PRIMARY
, WRAPPER_TAX_ADVANTAGED_RISK_INCREASE_PARTNER
, WRAPPER_TAX_ADVANTAGED_RISK_DECREASE_PRIMARY
, WRAPPER_TAX_ADVANTAGED_RISK_DECREASE_PARTNER
, WRAPPER_GIA_RISK_INCREASE_PRIMARY
, WRAPPER_GIA_RISK_INCREASE_PARTNER
, WRAPPER_GIA_RISK_DECREASE_PRIMARY
, WRAPPER_GIA_RISK_DECREASE_PARTNER
, WRAPPER_PENSION_RISK_INCREASE_PRIMARY
, WRAPPER_PENSION_RISK_INCREASE_PARTNER
, WRAPPER_PENSION_RISK_DECREASE_PRIMARY
, WRAPPER_PENSION_RISK_DECREASE_PARTNER
, WRAPPER_PENSION_CONTRIBUTION_INCREASE_PRIMARY
, WRAPPER_PENSION_CONTRIBUTION_INCREASE_PARTNER
, SAVINGS_TAX_ADVANTAGED_INVESTMENTS_ENABLE_PRIMARY
, SAVINGS_TAX_ADVANTAGED_INVESTMENTS_ENABLE_PARTNER
, SAVINGS_GIA_INVESTMENTS_ENABLE_PRIMARY
, SAVINGS_GIA_INVESTMENTS_ENABLE_PARTNER
, INSURANCE_TERM_LIFE_INSURANCE_INCREASE_PRIMARY
, INSURANCE_TERM_LIFE_INSURANCE_INCREASE_PARTNER
, INSURANCE_DISABILITY_INSURANCE_INCREASE_PRIMARY
, INSURANCE_DISABILITY_INSURANCE_INCREASE_PARTNER
, INSURANCE_CRITICAL_ILLNESS_INSURANCE_INCREASE_PRIMARY
, INSURANCE_CRITICAL_ILLNESS_INSURANCE_INCREASE_PARTNER
, INSURANCE_MORTGAGE_LIFE_INSURANCE_INCREASE
, LIFESTYLE_TOO_UNHEALTHY_PRIMARY
, LIFESTYLE_TOO_UNHEALTHY_PARTNER
, NONE
]
List of diagnostic types
Zero-based page index (0..N)
Default value: 20
The size of the page to be returned
Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
Responses
- 200
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- Array [
- ]
- ]
- ]
content object[]
Possible values: [EXPENSE_LIVING_EXPENSES_DECREASE
, EXPENSE_RENT_VS_MORTGAGE_ON_RESIDENTIAL_PROPERTY
, EXPENSE_MORTGAGE_ON_RESIDENTIAL_PROPERTY_VS_RENT
, INCOME_EARNED_INCOME_INCREASE_PRIMARY
, INCOME_EARNED_INCOME_INCREASE_PARTNER
, INCOME_WORK_PART_TIME_AFTER_RETIREMENT_PRIMARY
, INCOME_WORK_PART_TIME_AFTER_RETIREMENT_PARTNER
, GOAL_SWITCH_OFF_EARLIER_GOALS
, GOAL_SPEND_LESS_MONEY_ON_GOAL
, GOAL_MOVE_IT_TO_THE_FUTURE
, GOAL_BUY_A_HOUSE_DOWNPAYMENT
, GOAL_BUY_A_HOUSE_MORTGAGE_AFFORDABILITY
, GOAL_BORROW
, GOAL_SAVE_IN_YEARS
, PROPERTY_MOVE_TO_SMALLER_PROPERTY
, PROPERTY_SELL_BUY_TO_LET_PROPERTIES
, DEBT_RESIDENTIAL_PROPERTIES_REMORTGAGE
, DEBT_INVESTMENT_PROPERTIES_REMORTGAGE
, DEBT_ELIMINATE_DEBT
, WRAPPER_TAX_ADVANTAGED_RISK_INCREASE_PRIMARY
, WRAPPER_TAX_ADVANTAGED_RISK_INCREASE_PARTNER
, WRAPPER_TAX_ADVANTAGED_RISK_DECREASE_PRIMARY
, WRAPPER_TAX_ADVANTAGED_RISK_DECREASE_PARTNER
, WRAPPER_GIA_RISK_INCREASE_PRIMARY
, WRAPPER_GIA_RISK_INCREASE_PARTNER
, WRAPPER_GIA_RISK_DECREASE_PRIMARY
, WRAPPER_GIA_RISK_DECREASE_PARTNER
, WRAPPER_PENSION_RISK_INCREASE_PRIMARY
, WRAPPER_PENSION_RISK_INCREASE_PARTNER
, WRAPPER_PENSION_RISK_DECREASE_PRIMARY
, WRAPPER_PENSION_RISK_DECREASE_PARTNER
, WRAPPER_PENSION_CONTRIBUTION_INCREASE_PRIMARY
, WRAPPER_PENSION_CONTRIBUTION_INCREASE_PARTNER
, SAVINGS_TAX_ADVANTAGED_INVESTMENTS_ENABLE_PRIMARY
, SAVINGS_TAX_ADVANTAGED_INVESTMENTS_ENABLE_PARTNER
, SAVINGS_GIA_INVESTMENTS_ENABLE_PRIMARY
, SAVINGS_GIA_INVESTMENTS_ENABLE_PARTNER
, INSURANCE_TERM_LIFE_INSURANCE_INCREASE_PRIMARY
, INSURANCE_TERM_LIFE_INSURANCE_INCREASE_PARTNER
, INSURANCE_DISABILITY_INSURANCE_INCREASE_PRIMARY
, INSURANCE_DISABILITY_INSURANCE_INCREASE_PARTNER
, INSURANCE_CRITICAL_ILLNESS_INSURANCE_INCREASE_PRIMARY
, INSURANCE_CRITICAL_ILLNESS_INSURANCE_INCREASE_PARTNER
, INSURANCE_MORTGAGE_LIFE_INSURANCE_INCREASE
, LIFESTYLE_TOO_UNHEALTHY_PRIMARY
, LIFESTYLE_TOO_UNHEALTHY_PARTNER
, NONE
]
results object[]required
results object[]
data object
pageable object
sort object
sort object
{
"content": [
{
"clientId": "string",
"description": "string",
"diagnosticType": "EXPENSE_LIVING_EXPENSES_DECREASE",
"goalId": "string",
"id": "string",
"name": "string",
"results": [
{
"name": "string",
"results": [
{
"data": {},
"goalId": "string",
"lifeId": 0,
"timestepId": 0
}
]
}
],
"scenarioId": "string",
"simulationId": "string",
"username": "string"
}
],
"empty": true,
"first": true,
"last": true,
"number": 0,
"numberOfElements": 0,
"pageable": {
"offset": 0,
"pageNumber": 0,
"pageSize": 0,
"paged": true,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"unpaged": true
},
"size": 0,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"totalElements": 0,
"totalPages": 0
}
Internal Server Error