Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

1) GetAgreements
   Route:    GET /bright/agreements
   Params:   customerId (required),
                  serviceId (required)  
                   (+ CancellationToken)
             serviceId MUST be the EAN / MeteringPointId (ediel number).
   Returns:  200 OK -> IEnumerable<BrightAgreement>
             400 BadRequest    (declared; see note below)
             401 Unauthorized
   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).

...