Energy Cost Ingest Resource

Create Auto Energy Cost

HTTP Request

POST /api/energyIngest/energyCost/single

📋 Description: Submits a single energy cost entry for ingestion into the system, enabling accurate tracking and analysis of energy expenditures.

Parameters

Name

In

Type

Required

Description

body

body

EnergyCostDTO

true

Request body containing the energy cost data for a single entry, including relevant metrics and identifiers necessary for accurate processing and analysis.

Responses

Status

Meaning

Description

Schema

201

Created

Created

Inline

400

Bad Request

Validation/creation failed

Inline

Response Schema

Ingest Energy Costs

HTTP Request

POST /api/energyIngest/energyCost/batch

📋 Description: Submits a batch of energy cost data for processing, enabling efficient management and analysis of energy expenditures within the organization.

Parameters

Name

In

Type

Required

Description

body

body

EnergyCostDTO

true

Request body containing a batch of energy cost data, including relevant metrics and identifiers for efficient processing and analysis.

Responses

Status

Meaning

Description

Schema

201

Created

All items created

BulkCreateResponseEnergyCostDTO

207

Multi-Status

Partial success

BulkCreateResponseEnergyCostDTO

400

Bad Request

All failed / invalid payload

BulkCreateResponseEnergyCostDTO