---
title: "Create a decrement table using an existing file."
method: POST
path: "/api/v1/DecrementTables"
tags: ["DecrementTables"]
---

# Create a decrement table using an existing file.

`POST /api/v1/DecrementTables`

## Request

- Base URL: `https://api.slopesoftware.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.slopesoftware.com/api/v1/DecrementTables`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/slopesoftware/apis/akur8-life-api/docs/api/v1/DecrementTables/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- CreateDecrementTableRequestV1
  - `fileId` integer, nullable: File ID
  - `filePath` string, nullable: File Path
  - `fileVersion` integer, nullable: File Version
  - `delimiter` string, nullable: Delimiter
  - `excelSheetName` string, nullable: Excel Sheet Name
  - `modelId` integer: Model ID
  - `name` string, nullable: Decrement Table Name
  - `decrementTableType` 'Standard' | 'Improving' | 'SelectAndUltimate'
  - `improvementBaseYear` integer, nullable: Improvement Base Year
  - `selectPeriodFrequency` 'Annual' | 'Monthly'

## Response `200`

OK

- CreateOrUpdateDecrementTableResponseV1
  - `id` integer: Decrement Table ID
  - `name` string, nullable: Decrement Table Name
  - `type` 'Standard' | 'Improving' | 'SelectAndUltimate'
  - `version` integer: Decrement Table Version

## Other responses

- `201`: Created
- `400`: Bad Request
- `401`: Unauthorized
- `403`: Not Allowed To Access
- `404`: Not Found
- `409`: Decrement table name already exists
- `429`: Too Many Requests

---

[API](https://skmtc.dev/slopesoftware/apis/akur8-life-api.md) - [All operations](https://skmtc.dev/slopesoftware/apis/akur8-life-api/llms.txt) - [OpenAPI document](https://skmtc.dev/slopesoftware/apis/akur8-life-api/revisions/9771b2c79880?raw)
