GET api/customers/{customerId}/contracts/{contractNo}

Get one contract for a customer.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerId

Customer ID

integer

Required

contractNo

Contract number

integer

Required

Body Parameters

None.

Response Information

Resource Description

ContractResponse
NameDescriptionTypeAdditional information
ContractNo

integer

None.

CustomerId

integer

None.

DeliveryAddress

ElwAddress

None.

DeliveryPointId

integer

None.

DeliveryPointName

string

None.

EndDate

date

None.

IsActive

boolean

None.

IsBroadbandContract

boolean

None.

IsDistrictHeatingContract

boolean

None.

IsEnergyContract

boolean

None.

IsGasContract

boolean

None.

IsHeatPumpContract

boolean

None.

IsNetContract

boolean

None.

IsPowerContract

boolean

None.

IsTapWaterContract

boolean

None.

LedgerNo

integer

None.

StartDate

date

None.

Response Formats

application/json, text/json

Sample:
{
  "ContractNo": 1,
  "CustomerId": 2,
  "DeliveryAddress": {
    "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"
  },
  "DeliveryPointId": 3,
  "DeliveryPointName": "sample string 4",
  "EndDate": "2025-05-19T23:25:22.6176232+00:00",
  "IsActive": true,
  "IsBroadbandContract": true,
  "IsDistrictHeatingContract": true,
  "IsEnergyContract": true,
  "IsGasContract": true,
  "IsHeatPumpContract": true,
  "IsNetContract": true,
  "IsPowerContract": true,
  "IsTapWaterContract": true,
  "LedgerNo": 15,
  "StartDate": "2025-05-19T23:25:22.6176232+00:00"
}

text/html

Sample:
{"ContractNo":1,"CustomerId":2,"DeliveryAddress":{"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"},"DeliveryPointId":3,"DeliveryPointName":"sample string 4","EndDate":"2025-05-19T23:25:22.6176232+00:00","IsActive":true,"IsBroadbandContract":true,"IsDistrictHeatingContract":true,"IsEnergyContract":true,"IsGasContract":true,"IsHeatPumpContract":true,"IsNetContract":true,"IsPowerContract":true,"IsTapWaterContract":true,"LedgerNo":15,"StartDate":"2025-05-19T23:25:22.6176232+00:00"}