---
title: "POST /api/tenants/{tenantId}/regulations/{regulationId}/lookups"
method: POST
path: "/api/tenants/{tenantId}/regulations/{regulationId}/lookups"
tags: ["Lookups"]
---

# POST /api/tenants/{tenantId}/regulations/{regulationId}/lookups

`POST /api/tenants/{tenantId}/regulations/{regulationId}/lookups`

## Request

- The document declares no server URL.
- Auth: none declared
- TypeScript: <https://skmtc.dev/payroll-engine/apis/payroll-engine-backend-api-v1/docs/api/tenants/:tenantId/regulations/:regulationId/lookups/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `tenantId` integer, required
- `regulationId` integer, required

## Request body

- Lookup
  - `id` integer
  - `status` 'Active' | 'Inactive'
  - `created` string, date-time
  - `updated` string, date-time
  - `name` string, required
  - `nameLocalizations` object, nullable
  - `description` string, nullable
  - `descriptionLocalizations` object, nullable
  - `overrideType` 'Active' | 'Inactive'
  - `rangeMode` 'None' | 'Threshold' | 'Progressive'
  - `rangeSize` number, double, nullable
  - `attributes` object, nullable

## Response `201`

Created

- Lookup
  - `id` integer
  - `status` 'Active' | 'Inactive'
  - `created` string, date-time
  - `updated` string, date-time
  - `name` string, required
  - `nameLocalizations` object, nullable
  - `description` string, nullable
  - `descriptionLocalizations` object, nullable
  - `overrideType` 'Active' | 'Inactive'
  - `rangeMode` 'None' | 'Threshold' | 'Progressive'
  - `rangeSize` number, double, nullable
  - `attributes` object, nullable

## Other responses

- `404`: Not Found
- `422`: Unprocessable Content

## Changes

- **2026-03-09** `642427b60b7a`: 76 warning
  - added the new `8192.00` enum value to the `additionalProperties/errors/items/exception/targetSite/customAttributes/items/constructor/methodImplementationFlags` response property for the response status `422`
  - added the new `8192.00` enum value to the `additionalProperties/errors/items/exception/targetSite/customAttributes/items/constructor/module/assembly/definedTypes/items/declaredEvents/items/addMethod/methodImplementationFlags` response property for the response status `422`
  - added the new `8192.00` enum value to the `additionalProperties/errors/items/exception/targetSite/customAttributes/items/constructor/module/assembly/definedTypes/items/declaredEvents/items/raiseMethod/methodImplementationFlags` response property for the response status `422`
  - added the new `8192.00` enum value to the `additionalProperties/errors/items/exception/targetSite/customAttributes/items/constructor/module/assembly/definedTypes/items/declaredEvents/items/removeMethod/methodImplementationFlags` response property for the response status `422`
  - …72 more
- **2025-11-05** `81aecc227d08`: 4 info
  - added the new optional request property `rangeMode` (media type: application/json)
  - added the new optional request property `rangeMode` (media type: text/json)
  - added the new optional request property `rangeMode` (media type: application/*+json)
  - added the optional property `rangeMode` to the response with the `201` status
- …earlier changes not shown

[Operation history](https://skmtc.dev/payroll-engine/apis/payroll-engine-backend-api-v1/changes/api/tenants/:tenantId/regulations/:regulationId/lookups/post.md)

---

[API](https://skmtc.dev/payroll-engine/apis/payroll-engine-backend-api-v1.md) - [All operations](https://skmtc.dev/payroll-engine/apis/payroll-engine-backend-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/payroll-engine/apis/payroll-engine-backend-api-v1/revisions/7e8994a2c5bb?raw)
