GET api/mock/customers/{customerId}/prosumercontracts
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| customerId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
ProsumerContractPortfolioResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| EnergyContracts | Collection of ProsumerPartnerContractResponse |
None. |
|
| ServiceContracts | Collection of ProsumerPartnerContractResponse |
None. |
|
| FlexibilityContracts | Collection of FlexibilityContractResponse |
None. |
Response Formats
application/json, text/json
Sample:
{
"EnergyContracts": [
{
"Id": "70a55a16-e323-4c13-b3a5-5f32e8ddd8d7",
"AssetId": 1,
"Created": "2026-02-26T05:34:17.6072689+00:00",
"ContractType": "sample string 2",
"Description": "sample string 3",
"Name": "sample string 4",
"OwnerContractId": "91ad24ae-c017-44a7-9d1f-b8d7ce8d447b",
"PartnerLegalEntityId": 6,
"ValidFrom": "2026-02-26T05:34:17.6072689+00:00",
"ValidTo": "2026-02-26T05:34:17.6072689+00:00",
"SignedTime": "2026-02-26T05:34:17.6072689+00:00",
"CancelTime": "2026-02-26T05:34:17.6072689+00:00"
},
{
"Id": "70a55a16-e323-4c13-b3a5-5f32e8ddd8d7",
"AssetId": 1,
"Created": "2026-02-26T05:34:17.6072689+00:00",
"ContractType": "sample string 2",
"Description": "sample string 3",
"Name": "sample string 4",
"OwnerContractId": "91ad24ae-c017-44a7-9d1f-b8d7ce8d447b",
"PartnerLegalEntityId": 6,
"ValidFrom": "2026-02-26T05:34:17.6072689+00:00",
"ValidTo": "2026-02-26T05:34:17.6072689+00:00",
"SignedTime": "2026-02-26T05:34:17.6072689+00:00",
"CancelTime": "2026-02-26T05:34:17.6072689+00:00"
}
],
"ServiceContracts": [
{
"Id": "70a55a16-e323-4c13-b3a5-5f32e8ddd8d7",
"AssetId": 1,
"Created": "2026-02-26T05:34:17.6072689+00:00",
"ContractType": "sample string 2",
"Description": "sample string 3",
"Name": "sample string 4",
"OwnerContractId": "91ad24ae-c017-44a7-9d1f-b8d7ce8d447b",
"PartnerLegalEntityId": 6,
"ValidFrom": "2026-02-26T05:34:17.6072689+00:00",
"ValidTo": "2026-02-26T05:34:17.6072689+00:00",
"SignedTime": "2026-02-26T05:34:17.6072689+00:00",
"CancelTime": "2026-02-26T05:34:17.6072689+00:00"
},
{
"Id": "70a55a16-e323-4c13-b3a5-5f32e8ddd8d7",
"AssetId": 1,
"Created": "2026-02-26T05:34:17.6072689+00:00",
"ContractType": "sample string 2",
"Description": "sample string 3",
"Name": "sample string 4",
"OwnerContractId": "91ad24ae-c017-44a7-9d1f-b8d7ce8d447b",
"PartnerLegalEntityId": 6,
"ValidFrom": "2026-02-26T05:34:17.6072689+00:00",
"ValidTo": "2026-02-26T05:34:17.6072689+00:00",
"SignedTime": "2026-02-26T05:34:17.6072689+00:00",
"CancelTime": "2026-02-26T05:34:17.6072689+00:00"
}
],
"FlexibilityContracts": [
{
"MaxPowerPrActivation": 1.1,
"AssetId": 13,
"Id": "e7848ab0-e700-400b-9c2b-774069b2f855",
"MaxNumOfActivationPrTimeInterval": 1,
"AssetName": "sample string 14",
"ContractId": "499eee44-730b-4870-9316-c24825ceb9da",
"DaysAllowedForActivation": 0,
"Name": "sample string 17",
"PermittedIntervals": "sample string 2",
"ValidFrom": "2026-02-26T05:34:17.6072689+00:00",
"MaxAllowedActivationTime": 1,
"ValidTo": "2026-02-26T05:34:17.6228947+00:00",
"MininumTimeBetweenActivation": 3,
"CancelTime": "2026-02-26T05:34:17.6228947+00:00",
"Tolerance": 4.1,
"Signed": "2026-02-26T05:34:17.6228947+00:00",
"ReservationFee": 5.1,
"Renewal": 0,
"ActivationFeeWorkdays": 6.1,
"ParticipantId": 20,
"ActivationFeeNonWorkdays": 7.1,
"NonConformanceClause": "sample string 8",
"MinNormalTemperature": 9.1,
"MaxNormalTemperature": 10.1,
"MaxRampUpTemperature": 11.1,
"MinRamDownTemperature": 12.1
},
{
"MaxPowerPrActivation": 1.1,
"AssetId": 13,
"Id": "e7848ab0-e700-400b-9c2b-774069b2f855",
"MaxNumOfActivationPrTimeInterval": 1,
"AssetName": "sample string 14",
"ContractId": "499eee44-730b-4870-9316-c24825ceb9da",
"DaysAllowedForActivation": 0,
"Name": "sample string 17",
"PermittedIntervals": "sample string 2",
"ValidFrom": "2026-02-26T05:34:17.6072689+00:00",
"MaxAllowedActivationTime": 1,
"ValidTo": "2026-02-26T05:34:17.6228947+00:00",
"MininumTimeBetweenActivation": 3,
"CancelTime": "2026-02-26T05:34:17.6228947+00:00",
"Tolerance": 4.1,
"Signed": "2026-02-26T05:34:17.6228947+00:00",
"ReservationFee": 5.1,
"Renewal": 0,
"ActivationFeeWorkdays": 6.1,
"ParticipantId": 20,
"ActivationFeeNonWorkdays": 7.1,
"NonConformanceClause": "sample string 8",
"MinNormalTemperature": 9.1,
"MaxNormalTemperature": 10.1,
"MaxRampUpTemperature": 11.1,
"MinRamDownTemperature": 12.1
}
]
}
text/html
Sample:
{"EnergyContracts":[{"Id":"70a55a16-e323-4c13-b3a5-5f32e8ddd8d7","AssetId":1,"Created":"2026-02-26T05:34:17.6072689+00:00","ContractType":"sample string 2","Description":"sample string 3","Name":"sample string 4","OwnerContractId":"91ad24ae-c017-44a7-9d1f-b8d7ce8d447b","PartnerLegalEntityId":6,"ValidFrom":"2026-02-26T05:34:17.6072689+00:00","ValidTo":"2026-02-26T05:34:17.6072689+00:00","SignedTime":"2026-02-26T05:34:17.6072689+00:00","CancelTime":"2026-02-26T05:34:17.6072689+00:00"},{"Id":"70a55a16-e323-4c13-b3a5-5f32e8ddd8d7","AssetId":1,"Created":"2026-02-26T05:34:17.6072689+00:00","ContractType":"sample string 2","Description":"sample string 3","Name":"sample string 4","OwnerContractId":"91ad24ae-c017-44a7-9d1f-b8d7ce8d447b","PartnerLegalEntityId":6,"ValidFrom":"2026-02-26T05:34:17.6072689+00:00","ValidTo":"2026-02-26T05:34:17.6072689+00:00","SignedTime":"2026-02-26T05:34:17.6072689+00:00","CancelTime":"2026-02-26T05:34:17.6072689+00:00"}],"ServiceContracts":[{"Id":"70a55a16-e323-4c13-b3a5-5f32e8ddd8d7","AssetId":1,"Created":"2026-02-26T05:34:17.6072689+00:00","ContractType":"sample string 2","Description":"sample string 3","Name":"sample string 4","OwnerContractId":"91ad24ae-c017-44a7-9d1f-b8d7ce8d447b","PartnerLegalEntityId":6,"ValidFrom":"2026-02-26T05:34:17.6072689+00:00","ValidTo":"2026-02-26T05:34:17.6072689+00:00","SignedTime":"2026-02-26T05:34:17.6072689+00:00","CancelTime":"2026-02-26T05:34:17.6072689+00:00"},{"Id":"70a55a16-e323-4c13-b3a5-5f32e8ddd8d7","AssetId":1,"Created":"2026-02-26T05:34:17.6072689+00:00","ContractType":"sample string 2","Description":"sample string 3","Name":"sample string 4","OwnerContractId":"91ad24ae-c017-44a7-9d1f-b8d7ce8d447b","PartnerLegalEntityId":6,"ValidFrom":"2026-02-26T05:34:17.6072689+00:00","ValidTo":"2026-02-26T05:34:17.6072689+00:00","SignedTime":"2026-02-26T05:34:17.6072689+00:00","CancelTime":"2026-02-26T05:34:17.6072689+00:00"}],"FlexibilityContracts":[{"MaxPowerPrActivation":1.1,"AssetId":13,"Id":"e7848ab0-e700-400b-9c2b-774069b2f855","MaxNumOfActivationPrTimeInterval":1,"AssetName":"sample string 14","ContractId":"499eee44-730b-4870-9316-c24825ceb9da","DaysAllowedForActivation":0,"Name":"sample string 17","PermittedIntervals":"sample string 2","ValidFrom":"2026-02-26T05:34:17.6072689+00:00","MaxAllowedActivationTime":1,"ValidTo":"2026-02-26T05:34:17.6228947+00:00","MininumTimeBetweenActivation":3,"CancelTime":"2026-02-26T05:34:17.6228947+00:00","Tolerance":4.1,"Signed":"2026-02-26T05:34:17.6228947+00:00","ReservationFee":5.1,"Renewal":0,"ActivationFeeWorkdays":6.1,"ParticipantId":20,"ActivationFeeNonWorkdays":7.1,"NonConformanceClause":"sample string 8","MinNormalTemperature":9.1,"MaxNormalTemperature":10.1,"MaxRampUpTemperature":11.1,"MinRamDownTemperature":12.1},{"MaxPowerPrActivation":1.1,"AssetId":13,"Id":"e7848ab0-e700-400b-9c2b-774069b2f855","MaxNumOfActivationPrTimeInterval":1,"AssetName":"sample string 14","ContractId":"499eee44-730b-4870-9316-c24825ceb9da","DaysAllowedForActivation":0,"Name":"sample string 17","PermittedIntervals":"sample string 2","ValidFrom":"2026-02-26T05:34:17.6072689+00:00","MaxAllowedActivationTime":1,"ValidTo":"2026-02-26T05:34:17.6228947+00:00","MininumTimeBetweenActivation":3,"CancelTime":"2026-02-26T05:34:17.6228947+00:00","Tolerance":4.1,"Signed":"2026-02-26T05:34:17.6228947+00:00","ReservationFee":5.1,"Renewal":0,"ActivationFeeWorkdays":6.1,"ParticipantId":20,"ActivationFeeNonWorkdays":7.1,"NonConformanceClause":"sample string 8","MinNormalTemperature":9.1,"MaxNormalTemperature":10.1,"MaxRampUpTemperature":11.1,"MinRamDownTemperature":12.1}]}