Get Customer List

get

/apis/customer-data-v2/{utilityCode}/customers

Returns the list of customers satisfying the query parameters.

Request

Path Parameters
Query Parameters
Back to Top

Response

Supported Media Types

200 Response

Successful operation. Customers matching this query returned.
Body ()
Root Schema : CustomersResponse
Type: object
Show Source
Example:
{
    "response":{
        "id":1071,
        "name":"David Bowie",
        "recipient":"RECIPIENT",
        "utilityCustomerId":"1872099045-387109999",
        "utilityInternalId":"1872099045",
        "utilityInternalId2":"18720-99045"
    }
}
Nested Schema : response
Type: array
Show Source
Nested Schema : Customer
Type: object
Show Source

400 Response

Invalid request
Body ()
Root Schema : ErrorResponse
Type: object
Show Source

401 Response

Authorization failure
Body ()
Root Schema : ErrorResponse
Type: object
Show Source

404 Response

Customer not found
Body ()
Root Schema : ErrorResponse
Type: object
Show Source

500 Response

Internal error
Body ()
Root Schema : ErrorResponse
Type: object
Show Source
Back to Top