---
title: "Update bill of quantities."
method: POST
path: "/bill_of_quantities/update"
tags: ["Projects|Bill of quantities"]
---

# Update bill of quantities.

`POST /bill_of_quantities/update`

An attempt is made to find an existing bill of quantities based on the given id on the given keyfield.
If one is found it will be adjusted with the data provided in the request, otherwise the dataset will be ignored.

## Request body

- StandardBillOfQuantitiesUpdateRequest
  - `records` object[] — The records.
    - `keyField` string — This parameter specifies the name of the unique key used to distinctly assign each dataset in the API. | Value | Description | |----------------|------------------------------------ | | id | The internal bill of quantities ID | | importKey | The external record ID |
    - `data` BillOfQuantitiesUpdateRequestRecordData
      - `id` integer — The internal id of the bill of quantities.
      - `externalId` string — The external id. (max. 255 characters)
      - `offerNumber` string — The offer number. (max. 30 characters)
      - `addendum` string — The number of the addendum of this bill of quantities. (max. 10 characters)
      - `text1` string — The name. (max. 80 characters)
      - `text2` string — The additional name. (max. 80 characters)
      - `noteStart` string — An additional note at the beginning.
      - `noteEnd` string — An additional note at the end.
      - `date` string — Represents a date and a time. (ISO 8601) ICU-Format: yyyy-MM-dd'T'HH:mm:ssxxx
      - `totalValue` number — The total Value.
      - `currency` string — The currency.
      - `projectName` string — The name of the project. (max. 100 characters)
      - `importSource` string — External data source from which this bill of quantities originates. (max. 50 characters)
      - `importKey` string — External ID of the respective data source. (max. 50 characters)
  - `dryRun` boolean — Simulate the operation. (No records will be created or changed) This Parameter is optional.

## Response `200`

Success Response:

- StandardBillOfQuantitiesUpdateResponse
  - `updatedBillsOfQuantities` object[] — The updated bill of quantities.
    - `id` integer — The internal id of the bill of quantities.
    - `externalId` string — The external id. (max. 255 characters)
    - `offerNumber` string — The offer number. (max. 30 characters)
    - `addendum` string — The number of the addendum of this bill of quantities. (max. 10 characters)
    - `text1` string — The name. (max. 80 characters)
    - `text2` string — The additional name. (max. 80 characters)
    - `noteStart` string — An additional note at the beginning.
    - `noteEnd` string — An additional note at the end.
    - `date` string — Represents a date and a time. (ISO 8601) ICU-Format: yyyy-MM-dd'T'HH:mm:ssxxx
    - `totalValue` number — The total Value.
    - `currency` string — The currency.
    - `projectName` string — The name of the project. (max. 100 characters)
    - `importSource` string — External data source from which this bill of quantities originates. (max. 50 characters)
    - `importKey` string — External ID of the respective data source. (max. 50 characters)

---

[API](https://skmtc.net/geocapture/apis/geocapture-api.md) · [All operations](https://skmtc.net/geocapture/apis/geocapture-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/geocapture/geocapture-api/versions/869b05603541/schema)
