Versions Compared

Key

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

...

  • 200 OK -> IEnumerable<BrightLocation>
  • 400 BadRequest    (declared; see note below)            
  • 401 Unauthorized            
  • 404 NotFound      (declared; see note below)

   What it does:

     Returns      Returns the list of active locations for a customer, each with its
     electricity service(s). It first validates the customer exists  and validates input 
     (commonValidator.ValidateCustomer) and validates input
     (customerId required; limit, if supplied, must be 1-1000, default 100).
     It then loads location headers, loads the electricity services for those
     installations, attaches each service's current supply start/end dates, and maps and
     maps everything to the BrightLocation response.

...