---
title: "Perform calculations"
method: POST
path: "/api/GoalAdjustments/MajorPurchase/{id}/Calculations"
tags: ["GoalAdjustments"]
---

# Perform calculations

`POST /api/GoalAdjustments/MajorPurchase/{id}/Calculations`

This function returns the posted object and the adjusted calculation values

## Path parameters

- `id` integer, required

## Query parameters

- `planId` string, required

## Request body

- AdvicentNaviPlanRestApiGoalAdjustmentsModelsGoalAdjustmentsModelAdvicentDomainLogicGoalWhatIfMajorPurchaseGoalAdjustments
  - `adjustedValues` AdvicentDomainLogicGoalWhatIfMajorPurchaseGoalAdjustments
    - `lumpSumContribution` number, double
    - `lumpSumDate` string, date-time
    - `monthlySavingsContribution` number, double
    - `targetDate` string, date-time
    - `totalNeed` number, double

## Response `200`

Success

- AdvicentNaviPlanRestApiGoalAdjustmentsModelsCoverageProjectionsResultModelAdvicentDomainLogicGoalWhatIfMajorPurchaseGoalAdjustments
  - `goalAdjustments` AdvicentNaviPlanRestApiGoalAdjustmentsGoalAdjustmentsResultAdvicentDomainLogicGoalWhatIfMajorPurchaseGoalAdjustments
    - `adjustedValues` AdvicentDomainLogicGoalWhatIfMajorPurchaseGoalAdjustments
      - `lumpSumContribution` number, double
      - `lumpSumDate` string, date-time
      - `monthlySavingsContribution` number, double
      - `targetDate` string, date-time
      - `totalNeed` number, double
    - `created` string, date-time
    - `goalId` integer
  - `projectedResults` AdvicentNaviPlanRestApiGoalAdjustmentsCoverageProjections
    - `goalId` integer
    - `percentCovered` number, double
    - `projections` AdvicentNaviPlanRestApiGoalAdjustmentsCalcProjection[]
      - `projectedAbilities` number, double
      - `projectedNeed` number, double
      - `projectedRetirementAssetValues` number, double
      - `year` integer

## Other responses

- `400` — Invalid request
- `401` — Unauthorized for plan data access
- `404` — Object not found
- `503` — Unable to acquire a NaviPlan engine

---

[API](https://skmtc.net/naviplancentral/apis/plan.md) · [All operations](https://skmtc.net/naviplancentral/apis/plan/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/naviplancentral/plan/versions/97b0a0a95023/schema)
