---
title: "Add a Calculation Grid"
method: POST
path: "/calculationgridmanager.addgrid"
tags: ["Calculation Grids"]
---

# Add a Calculation Grid

`POST /calculationgridmanager.addgrid`

Creates a Calculation Grid (CG) object.

## Request body

- object
  - `data` object
    - `label` string, required — The name of the Calculation Grid you want to create.
    - `targetDate` string — A target date used for the logic execution. If not specified, the system will use today's date.
    - `keyGenerationType` 'DATA_DRIVEN' | 'LOGIC_DRIVEN' | 'MANUAL', required
    - `configuration` string, required — User-defined Calculation Grid parameters.

## Response `200`

OK

- object
  - `response` object
    - `node` string
    - `data` CalculationGrid[]
      - `lastUpdateByName` string, nullable
      - `createdByName` string, nullable
      - `updateDate` string, date, nullable
      - `typedId` string
      - `configuration` string
      - `relativeTargetDateDays` integer, nullable
      - `lastUpdateDate` string, date-time
      - `numberOfSubmittedItems` integer
      - `numberOfAutoApprovedItems` integer
      - `locale` string, nullable
      - `numberOfDeniedItems` integer
      - `calculationDate` string, date-time, nullable
      - `keyGenerationType` 'DATA_DRIVEN' | 'LOGIC_DRIVEN' | 'MANUAL'
      - `writeOnlyChangedItems` boolean
      - `userGroupViewDetails` string, nullable
      - `id` integer
      - `calculationGridType` 'CG1' | 'CG2' | 'CG3' | 'CG4' | 'CG5' | 'CG6' | 'null', nullable
      - `createDate` string, date-time
      - `calculationMessages` string, nullable
      - `updatedBy` integer
      - `numberOfApprovedItems` integer
      - `keySize` integer
      - `targetDate` string, date
      - `label` string
      - `version` integer
      - `partialCalculationDate` string, date-time, nullable
      - `numberOfOpenItems` integer
      - `createdBy` integer
      - `numberOfItems` integer
      - `userGroupEdit` string, nullable
      - `nodeId` integer, nullable
      - `keepManualOverrides` boolean
      - `calculationStartDate` string, date-time, nullable
      - `lastUpdateBy` integer
      - `status` 'DRAFT' | 'PENDING' | 'SCHEDULED' | 'PROCESSING' | 'SCHEDULED_DIRTY' | 'ERROR' | 'READY' | 'CANCELLED'
      - `approvalLevel` 'LINE_ITEM'
    - `status` integer

---

[API](https://skmtc.net/pricefx/apis/the-pricefx-backend-api.md) · [All operations](https://skmtc.net/pricefx/apis/the-pricefx-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pricefx/the-pricefx-backend-api/versions/0850b5d6be73/schema)
