getEstimatedWaterAllocation

Returns estimated water allocation values based on customer grouping and filtering parameters. We recommend using pagination to ensure that the operation returns quickly and successfully.

Samples

// GetEstimatedWaterAllocationSuccess
val resp = sustainabilityClient.getEstimatedWaterAllocation {
    timePeriod = TimePeriod {
        start = "2025-01-01T00:00:00.00Z"
        end = "2026-01-01T00:00:00.00Z"
    }
    groupBy = listOf<Dimension>(
        Dimension.fromValue("SERVICE")
    )
    allocationTypes = listOf<WaterAllocationType>(
        WaterAllocationType.fromValue("TOTAL_WATER_WITHDRAWALS")
    )
    granularity = TimeGranularity.fromValue("YEARLY_CALENDAR")
}