GET api/customers/{customerId}

Get a customer.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerId

Customer ID

integer

Required

Body Parameters

None.

Response Information

Resource Description

The customer with the specified customer ID.

CustomerResponse
NameDescriptionTypeAdditional information
Address

ElwAddress

None.

BirthDate

date

None.

CustomerId

integer

None.

CustomerType

string

None.

Email

string

None.

FirstName

string

None.

IsBroadbandCustomer

boolean

None.

IsDistrictHeatingCustomer

boolean

None.

IsNetCustomer

boolean

None.

IsPowerCustomer

boolean

None.

LastName

string

None.

MobileNumber

string

None.

OrganizationNo

string

None.

PhoneNumber

string

None.

Pin

string

None.

RequiresProfileConfirmation

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Address": {
    "AddressText": "sample string 1",
    "City": "sample string 2",
    "CoAddress": "sample string 3",
    "CountryCode": "sample string 4",
    "Entrance": "sample string 5",
    "Floor": "sample string 6",
    "HouseLetter": "sample string 7",
    "HouseNo": "sample string 8",
    "IsEditable": true,
    "POBox": 10,
    "ZipCode": "sample string 11"
  },
  "BirthDate": "2025-05-19T21:24:10.3001191+00:00",
  "CustomerId": 2,
  "CustomerType": "sample string 3",
  "Email": "sample string 4",
  "FirstName": "sample string 5",
  "IsBroadbandCustomer": true,
  "IsDistrictHeatingCustomer": true,
  "IsNetCustomer": true,
  "IsPowerCustomer": true,
  "LastName": "sample string 10",
  "MobileNumber": "sample string 11",
  "OrganizationNo": "sample string 12",
  "PhoneNumber": "sample string 13",
  "Pin": "sample string 14",
  "RequiresProfileConfirmation": true
}

text/html

Sample:
{"Address":{"AddressText":"sample string 1","City":"sample string 2","CoAddress":"sample string 3","CountryCode":"sample string 4","Entrance":"sample string 5","Floor":"sample string 6","HouseLetter":"sample string 7","HouseNo":"sample string 8","IsEditable":true,"POBox":10,"ZipCode":"sample string 11"},"BirthDate":"2025-05-19T21:24:10.3001191+00:00","CustomerId":2,"CustomerType":"sample string 3","Email":"sample string 4","FirstName":"sample string 5","IsBroadbandCustomer":true,"IsDistrictHeatingCustomer":true,"IsNetCustomer":true,"IsPowerCustomer":true,"LastName":"sample string 10","MobileNumber":"sample string 11","OrganizationNo":"sample string 12","PhoneNumber":"sample string 13","Pin":"sample string 14","RequiresProfileConfirmation":true}