...
1) GetAgreements
Route: GET
- GET /bright/agreements
ParamsParams:
- customerId (required)
...
...
- serviceId (required)
...
- serviceId MUST be the EAN / MeteringPointId (ediel number).
- (+ CancellationToken)
...
...
Returns
- 200 OK -> IEnumerable<BrightAgreement>
- 400 BadRequest (declared; see note below)
...
- 401 Unauthorized
What What it does:
Returns the list of active agreements for the given customer + service.
It first validates the customer exists and validates input (customerId required; serviceId required and digits
only).
...