Interface EnedisAccountingPointDataApi
- All Known Implementing Classes:
EnedisApiClient
public interface EnedisAccountingPointDataApi
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<UsagePointGeneralData> getAddress(String usagePointId) Retrieves the general data (installation address) of a usage point.reactor.core.publisher.Mono<List<ContractualSituation>> getContract(String usagePointId) Retrieves the contractual situations of a usage point, including the contracts, the customer identity and the customer contact data.
-
Method Details
-
getContract
Retrieves the contractual situations of a usage point, including the contracts, the customer identity and the customer contact data. The API returns an array, so a usage point can carry more than one situation (for instance consumption and production).- Parameters:
usagePointId- The unique identifier for the usage point. Must not be null or empty.- Returns:
- A
Monothat emits theContractualSituationlist for the specified usage point or an error
-
getAddress
Retrieves the general data (installation address) of a usage point.- Parameters:
usagePointId- The unique identifier for the usage point. Must not be null or empty.- Returns:
- A
Monothat emits theUsagePointGeneralDatafor the specified usage point or an error
-