Budget

Update phase data for a budget line

Updates one line and phase entry. Omitted fields remain unchanged. Null clears a nullable field.

put/projects/{projectId}/budget/lines/{lineId}/phase-data/{phaseId}

Request

  • Base URL: https://next-api.saturation.io/v1
  • URL: https://next-api.saturation.io/v1/projects/{projectId}/budget/lines/{lineId}/phase-data/{phaseId}
  • Auth: HTTP bearer

Path parameters

projectIdstring required

Project ID or slug.

lineIdstring required

A stable resource ID, such as prj_…, txn_…, or doc_….

Example:txn_8f2a1c9e

The budget line ID.

phaseIdstring required

A stable resource ID, such as prj_…, txn_…, or doc_….

Example:txn_8f2a1c9e

The phase ID.

Request body

qtyAutoDerivedboolean nullable
unitstring nullable
customUnitIdstring

A stable resource ID, such as prj_…, txn_…, or doc_….

startDatestring nullable
endDatestring nullable
fringeIdsId[] nullable
fringeGroupIdsId[] nullable
currencyIdstring

A stable resource ID, such as prj_…, txn_…, or doc_….

Example request

{
  "customUnitId": "txn_8f2a1c9e",
  "fringeIds": [
    "txn_8f2a1c9e"
  ],
  "fringeGroupIds": [
    "txn_8f2a1c9e"
  ],
  "currencyId": "txn_8f2a1c9e"
}

Response

The updated phase data.

lineIdstring required

A stable resource ID, such as prj_…, txn_…, or doc_….

phaseIdstring required

A stable resource ID, such as prj_…, txn_…, or doc_….

Example response

{
  "lineId": "txn_8f2a1c9e",
  "phaseId": "txn_8f2a1c9e",
  "phaseData": {
    "customUnitId": "txn_8f2a1c9e",
    "fringeIds": [
      "txn_8f2a1c9e"
    ],
    "fringeGroupIds": [
      "txn_8f2a1c9e"
    ],
    "currencyId": "txn_8f2a1c9e"
  }
}

Changes

No recorded changes to this operation across all 4 revisions of this API.