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": "c53b863c-deff-4ae9-97db-72fb16ff653c",
"AssetId": 1,
"Created": "2025-12-23T20:10:39.008423+00:00",
"ContractType": "sample string 2",
"Description": "sample string 3",
"Name": "sample string 4",
"OwnerContractId": "aea94858-d42c-4160-a37d-0ef2080b719a",
"PartnerLegalEntityId": 6,
"ValidFrom": "2025-12-23T20:10:39.008423+00:00",
"ValidTo": "2025-12-23T20:10:39.008423+00:00",
"SignedTime": "2025-12-23T20:10:39.008423+00:00",
"CancelTime": "2025-12-23T20:10:39.008423+00:00"
},
{
"Id": "c53b863c-deff-4ae9-97db-72fb16ff653c",
"AssetId": 1,
"Created": "2025-12-23T20:10:39.008423+00:00",
"ContractType": "sample string 2",
"Description": "sample string 3",
"Name": "sample string 4",
"OwnerContractId": "aea94858-d42c-4160-a37d-0ef2080b719a",
"PartnerLegalEntityId": 6,
"ValidFrom": "2025-12-23T20:10:39.008423+00:00",
"ValidTo": "2025-12-23T20:10:39.008423+00:00",
"SignedTime": "2025-12-23T20:10:39.008423+00:00",
"CancelTime": "2025-12-23T20:10:39.008423+00:00"
}
],
"ServiceContracts": [
{
"Id": "c53b863c-deff-4ae9-97db-72fb16ff653c",
"AssetId": 1,
"Created": "2025-12-23T20:10:39.008423+00:00",
"ContractType": "sample string 2",
"Description": "sample string 3",
"Name": "sample string 4",
"OwnerContractId": "aea94858-d42c-4160-a37d-0ef2080b719a",
"PartnerLegalEntityId": 6,
"ValidFrom": "2025-12-23T20:10:39.008423+00:00",
"ValidTo": "2025-12-23T20:10:39.008423+00:00",
"SignedTime": "2025-12-23T20:10:39.008423+00:00",
"CancelTime": "2025-12-23T20:10:39.008423+00:00"
},
{
"Id": "c53b863c-deff-4ae9-97db-72fb16ff653c",
"AssetId": 1,
"Created": "2025-12-23T20:10:39.008423+00:00",
"ContractType": "sample string 2",
"Description": "sample string 3",
"Name": "sample string 4",
"OwnerContractId": "aea94858-d42c-4160-a37d-0ef2080b719a",
"PartnerLegalEntityId": 6,
"ValidFrom": "2025-12-23T20:10:39.008423+00:00",
"ValidTo": "2025-12-23T20:10:39.008423+00:00",
"SignedTime": "2025-12-23T20:10:39.008423+00:00",
"CancelTime": "2025-12-23T20:10:39.008423+00:00"
}
],
"FlexibilityContracts": [
{
"MaxPowerPrActivation": 1.1,
"AssetId": 13,
"Id": "a01654dc-b7d2-4987-9afd-54ebb9fd9bde",
"MaxNumOfActivationPrTimeInterval": 1,
"AssetName": "sample string 14",
"ContractId": "b68ee09d-74eb-4851-b7be-b74e84246689",
"DaysAllowedForActivation": 0,
"Name": "sample string 17",
"PermittedIntervals": "sample string 2",
"ValidFrom": "2025-12-23T20:10:39.008423+00:00",
"MaxAllowedActivationTime": 1,
"ValidTo": "2025-12-23T20:10:39.008423+00:00",
"MininumTimeBetweenActivation": 3,
"CancelTime": "2025-12-23T20:10:39.008423+00:00",
"Tolerance": 4.1,
"Signed": "2025-12-23T20:10:39.008423+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": "a01654dc-b7d2-4987-9afd-54ebb9fd9bde",
"MaxNumOfActivationPrTimeInterval": 1,
"AssetName": "sample string 14",
"ContractId": "b68ee09d-74eb-4851-b7be-b74e84246689",
"DaysAllowedForActivation": 0,
"Name": "sample string 17",
"PermittedIntervals": "sample string 2",
"ValidFrom": "2025-12-23T20:10:39.008423+00:00",
"MaxAllowedActivationTime": 1,
"ValidTo": "2025-12-23T20:10:39.008423+00:00",
"MininumTimeBetweenActivation": 3,
"CancelTime": "2025-12-23T20:10:39.008423+00:00",
"Tolerance": 4.1,
"Signed": "2025-12-23T20:10:39.008423+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":"c53b863c-deff-4ae9-97db-72fb16ff653c","AssetId":1,"Created":"2025-12-23T20:10:39.008423+00:00","ContractType":"sample string 2","Description":"sample string 3","Name":"sample string 4","OwnerContractId":"aea94858-d42c-4160-a37d-0ef2080b719a","PartnerLegalEntityId":6,"ValidFrom":"2025-12-23T20:10:39.008423+00:00","ValidTo":"2025-12-23T20:10:39.008423+00:00","SignedTime":"2025-12-23T20:10:39.008423+00:00","CancelTime":"2025-12-23T20:10:39.008423+00:00"},{"Id":"c53b863c-deff-4ae9-97db-72fb16ff653c","AssetId":1,"Created":"2025-12-23T20:10:39.008423+00:00","ContractType":"sample string 2","Description":"sample string 3","Name":"sample string 4","OwnerContractId":"aea94858-d42c-4160-a37d-0ef2080b719a","PartnerLegalEntityId":6,"ValidFrom":"2025-12-23T20:10:39.008423+00:00","ValidTo":"2025-12-23T20:10:39.008423+00:00","SignedTime":"2025-12-23T20:10:39.008423+00:00","CancelTime":"2025-12-23T20:10:39.008423+00:00"}],"ServiceContracts":[{"Id":"c53b863c-deff-4ae9-97db-72fb16ff653c","AssetId":1,"Created":"2025-12-23T20:10:39.008423+00:00","ContractType":"sample string 2","Description":"sample string 3","Name":"sample string 4","OwnerContractId":"aea94858-d42c-4160-a37d-0ef2080b719a","PartnerLegalEntityId":6,"ValidFrom":"2025-12-23T20:10:39.008423+00:00","ValidTo":"2025-12-23T20:10:39.008423+00:00","SignedTime":"2025-12-23T20:10:39.008423+00:00","CancelTime":"2025-12-23T20:10:39.008423+00:00"},{"Id":"c53b863c-deff-4ae9-97db-72fb16ff653c","AssetId":1,"Created":"2025-12-23T20:10:39.008423+00:00","ContractType":"sample string 2","Description":"sample string 3","Name":"sample string 4","OwnerContractId":"aea94858-d42c-4160-a37d-0ef2080b719a","PartnerLegalEntityId":6,"ValidFrom":"2025-12-23T20:10:39.008423+00:00","ValidTo":"2025-12-23T20:10:39.008423+00:00","SignedTime":"2025-12-23T20:10:39.008423+00:00","CancelTime":"2025-12-23T20:10:39.008423+00:00"}],"FlexibilityContracts":[{"MaxPowerPrActivation":1.1,"AssetId":13,"Id":"a01654dc-b7d2-4987-9afd-54ebb9fd9bde","MaxNumOfActivationPrTimeInterval":1,"AssetName":"sample string 14","ContractId":"b68ee09d-74eb-4851-b7be-b74e84246689","DaysAllowedForActivation":0,"Name":"sample string 17","PermittedIntervals":"sample string 2","ValidFrom":"2025-12-23T20:10:39.008423+00:00","MaxAllowedActivationTime":1,"ValidTo":"2025-12-23T20:10:39.008423+00:00","MininumTimeBetweenActivation":3,"CancelTime":"2025-12-23T20:10:39.008423+00:00","Tolerance":4.1,"Signed":"2025-12-23T20:10:39.008423+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":"a01654dc-b7d2-4987-9afd-54ebb9fd9bde","MaxNumOfActivationPrTimeInterval":1,"AssetName":"sample string 14","ContractId":"b68ee09d-74eb-4851-b7be-b74e84246689","DaysAllowedForActivation":0,"Name":"sample string 17","PermittedIntervals":"sample string 2","ValidFrom":"2025-12-23T20:10:39.008423+00:00","MaxAllowedActivationTime":1,"ValidTo":"2025-12-23T20:10:39.008423+00:00","MininumTimeBetweenActivation":3,"CancelTime":"2025-12-23T20:10:39.008423+00:00","Tolerance":4.1,"Signed":"2025-12-23T20:10:39.008423+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}]}