Skip to content

Add a new LcaSummary Record

Request

Adds a new LcaSummary record to the system based on the provided LcaSummary details.

Security
Bearer
Query
centerIdstring, (uuid)
Bodyapplication/jsonrequired

The LcaSummary payload

Array [
idinteger, (int32)

Unique identifier for the record.

Example:1001
guidstring, (uuid)

Globally unique identifier for the record.

Example:"6fa85f64-5717-4562-b3fc-2c963f66aaaa"
itemIdinteger or null, (int32)

Gets or sets the item identifier.

Example:101
itemConfigurableIdstring or null

Item identifier. If newPurchasedGood = false, get the existing itemID from the Item GET API response. If newPurchasedGood = true, this field should contain the user-input string.

itemNamestring or null

Gets or sets the item name.

Example:"Aluminium Sheet"
supplierIdstring or null, (uuid)

Gets or sets the supplier identifier.

Example:"7fa85f64-5717-4562-b3fc-2c963f66bbbb"
supplierNamestring or null

Gets or sets the supplier name.

Example:"Global Metals Supplier"
skuidstring or null, (uuid)

Gets or sets the SKU identifier.

Example:"8fa85f64-5717-4562-b3fc-2c963f66cccc"
skuConfigurableIdstring or null

Identifier of the configurable SKU associated with the LCA summary.

skuNamestring or null

Gets or sets the SKU name.

Example:"Laptop Model X - 16GB"
lcaproductStageA1A3Unitstring or null

Gets or sets the unit for LCA Product Stage (A1-A3).

Example:"[kgCO2/g, kgCO2/kg, kgCO2/t, kgCO2/number, kgCO2/l, kgCO2/m3]"
lcaproductStageA1A3Valuenumber or null, (double)

Gets or sets the value for LCA Product Stage (A1-A3).

Example:12.5
lcaprocessingStageA4A5Unitstring or null

Gets or sets the unit for LCA Processing Stage (A4-A5).

Example:"[kgCO2/g, kgCO2/kg, kgCO2/t, kgCO2/number, kgCO2/l, kgCO2/m3]"
lcaprocessingStageA4A5Valuenumber or null, (double)

Gets or sets the value for LCA Processing Stage (A4-A5).

Example:4.2
lcauseStageB1B7Unitstring or null

Gets or sets the unit for LCA Use Stage (B1-B7).

Example:"[kgCO2/g, kgCO2/kg, kgCO2/t, kgCO2/number, kgCO2/l, kgCO2/m3]"
lcauseStageB1B7Valuenumber or null, (double)

Gets or sets the value for LCA Use Stage (B1-B7).

Example:8.6
lcaeoLstageC1C4Unitstring or null

Gets or sets the unit for LCA End-of-Life Stage (C1-C4).

Example:"[kgCO2/g, kgCO2/kg, kgCO2/t, kgCO2/number, kgCO2/l, kgCO2/m3]"
lcaeoLstageC1C4Valuenumber or null, (double)

Gets or sets the value for LCA End-of-Life Stage (C1-C4).

Example:2.1
]
curl -i -X POST \
  'https://developer.sustainabilitymaster.ai/_mock/openapi/api/EnterpriseTables/LcaSummary?centerId=497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '[
    {
      "id": 1001,
      "guid": "6fa85f64-5717-4562-b3fc-2c963f66aaaa",
      "itemId": 101,
      "itemConfigurableId": "string",
      "itemName": "Aluminium Sheet",
      "supplierId": "7fa85f64-5717-4562-b3fc-2c963f66bbbb",
      "supplierName": "Global Metals Supplier",
      "skuid": "8fa85f64-5717-4562-b3fc-2c963f66cccc",
      "skuConfigurableId": "string",
      "skuName": "Laptop Model X - 16GB",
      "lcaproductStageA1A3Unit": "[kgCO2/g, kgCO2/kg, kgCO2/t, kgCO2/number, kgCO2/l, kgCO2/m3]",
      "lcaproductStageA1A3Value": 12.5,
      "lcaprocessingStageA4A5Unit": "[kgCO2/g, kgCO2/kg, kgCO2/t, kgCO2/number, kgCO2/l, kgCO2/m3]",
      "lcaprocessingStageA4A5Value": 4.2,
      "lcauseStageB1B7Unit": "[kgCO2/g, kgCO2/kg, kgCO2/t, kgCO2/number, kgCO2/l, kgCO2/m3]",
      "lcauseStageB1B7Value": 8.6,
      "lcaeoLstageC1C4Unit": "[kgCO2/g, kgCO2/kg, kgCO2/t, kgCO2/number, kgCO2/l, kgCO2/m3]",
      "lcaeoLstageC1C4Value": 2.1
    }
  ]'

Responses

Successfully added the LcaSummary record