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
ProsumerContractPortfolioResponseName | 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": "e3a38910-9412-4bc3-a319-a633a162576e", "AssetId": 1, "Created": "2025-05-19T19:20:23.0684766+00:00", "ContractType": "sample string 2", "Description": "sample string 3", "Name": "sample string 4", "OwnerContractId": "129af25a-97a2-423a-8674-7a45ef6f583d", "PartnerLegalEntityId": 6, "ValidFrom": "2025-05-19T19:20:23.0684766+00:00", "ValidTo": "2025-05-19T19:20:23.0684766+00:00", "SignedTime": "2025-05-19T19:20:23.0684766+00:00", "CancelTime": "2025-05-19T19:20:23.0684766+00:00" }, { "Id": "e3a38910-9412-4bc3-a319-a633a162576e", "AssetId": 1, "Created": "2025-05-19T19:20:23.0684766+00:00", "ContractType": "sample string 2", "Description": "sample string 3", "Name": "sample string 4", "OwnerContractId": "129af25a-97a2-423a-8674-7a45ef6f583d", "PartnerLegalEntityId": 6, "ValidFrom": "2025-05-19T19:20:23.0684766+00:00", "ValidTo": "2025-05-19T19:20:23.0684766+00:00", "SignedTime": "2025-05-19T19:20:23.0684766+00:00", "CancelTime": "2025-05-19T19:20:23.0684766+00:00" } ], "ServiceContracts": [ { "Id": "e3a38910-9412-4bc3-a319-a633a162576e", "AssetId": 1, "Created": "2025-05-19T19:20:23.0684766+00:00", "ContractType": "sample string 2", "Description": "sample string 3", "Name": "sample string 4", "OwnerContractId": "129af25a-97a2-423a-8674-7a45ef6f583d", "PartnerLegalEntityId": 6, "ValidFrom": "2025-05-19T19:20:23.0684766+00:00", "ValidTo": "2025-05-19T19:20:23.0684766+00:00", "SignedTime": "2025-05-19T19:20:23.0684766+00:00", "CancelTime": "2025-05-19T19:20:23.0684766+00:00" }, { "Id": "e3a38910-9412-4bc3-a319-a633a162576e", "AssetId": 1, "Created": "2025-05-19T19:20:23.0684766+00:00", "ContractType": "sample string 2", "Description": "sample string 3", "Name": "sample string 4", "OwnerContractId": "129af25a-97a2-423a-8674-7a45ef6f583d", "PartnerLegalEntityId": 6, "ValidFrom": "2025-05-19T19:20:23.0684766+00:00", "ValidTo": "2025-05-19T19:20:23.0684766+00:00", "SignedTime": "2025-05-19T19:20:23.0684766+00:00", "CancelTime": "2025-05-19T19:20:23.0684766+00:00" } ], "FlexibilityContracts": [ { "MaxPowerPrActivation": 1.1, "AssetId": 13, "Id": "cd34e64b-aa57-4998-b855-e9789da08808", "MaxNumOfActivationPrTimeInterval": 1, "AssetName": "sample string 14", "ContractId": "c8051f37-90f5-45fe-b065-7795f2549b08", "DaysAllowedForActivation": 0, "Name": "sample string 17", "PermittedIntervals": "sample string 2", "ValidFrom": "2025-05-19T19:20:23.0841048+00:00", "MaxAllowedActivationTime": 1, "ValidTo": "2025-05-19T19:20:23.0841048+00:00", "MininumTimeBetweenActivation": 3, "CancelTime": "2025-05-19T19:20:23.0841048+00:00", "Tolerance": 4.1, "Signed": "2025-05-19T19:20:23.0841048+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": "cd34e64b-aa57-4998-b855-e9789da08808", "MaxNumOfActivationPrTimeInterval": 1, "AssetName": "sample string 14", "ContractId": "c8051f37-90f5-45fe-b065-7795f2549b08", "DaysAllowedForActivation": 0, "Name": "sample string 17", "PermittedIntervals": "sample string 2", "ValidFrom": "2025-05-19T19:20:23.0841048+00:00", "MaxAllowedActivationTime": 1, "ValidTo": "2025-05-19T19:20:23.0841048+00:00", "MininumTimeBetweenActivation": 3, "CancelTime": "2025-05-19T19:20:23.0841048+00:00", "Tolerance": 4.1, "Signed": "2025-05-19T19:20:23.0841048+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":"e3a38910-9412-4bc3-a319-a633a162576e","AssetId":1,"Created":"2025-05-19T19:20:23.0684766+00:00","ContractType":"sample string 2","Description":"sample string 3","Name":"sample string 4","OwnerContractId":"129af25a-97a2-423a-8674-7a45ef6f583d","PartnerLegalEntityId":6,"ValidFrom":"2025-05-19T19:20:23.0684766+00:00","ValidTo":"2025-05-19T19:20:23.0684766+00:00","SignedTime":"2025-05-19T19:20:23.0684766+00:00","CancelTime":"2025-05-19T19:20:23.0684766+00:00"},{"Id":"e3a38910-9412-4bc3-a319-a633a162576e","AssetId":1,"Created":"2025-05-19T19:20:23.0684766+00:00","ContractType":"sample string 2","Description":"sample string 3","Name":"sample string 4","OwnerContractId":"129af25a-97a2-423a-8674-7a45ef6f583d","PartnerLegalEntityId":6,"ValidFrom":"2025-05-19T19:20:23.0684766+00:00","ValidTo":"2025-05-19T19:20:23.0684766+00:00","SignedTime":"2025-05-19T19:20:23.0684766+00:00","CancelTime":"2025-05-19T19:20:23.0684766+00:00"}],"ServiceContracts":[{"Id":"e3a38910-9412-4bc3-a319-a633a162576e","AssetId":1,"Created":"2025-05-19T19:20:23.0684766+00:00","ContractType":"sample string 2","Description":"sample string 3","Name":"sample string 4","OwnerContractId":"129af25a-97a2-423a-8674-7a45ef6f583d","PartnerLegalEntityId":6,"ValidFrom":"2025-05-19T19:20:23.0684766+00:00","ValidTo":"2025-05-19T19:20:23.0684766+00:00","SignedTime":"2025-05-19T19:20:23.0684766+00:00","CancelTime":"2025-05-19T19:20:23.0684766+00:00"},{"Id":"e3a38910-9412-4bc3-a319-a633a162576e","AssetId":1,"Created":"2025-05-19T19:20:23.0684766+00:00","ContractType":"sample string 2","Description":"sample string 3","Name":"sample string 4","OwnerContractId":"129af25a-97a2-423a-8674-7a45ef6f583d","PartnerLegalEntityId":6,"ValidFrom":"2025-05-19T19:20:23.0684766+00:00","ValidTo":"2025-05-19T19:20:23.0684766+00:00","SignedTime":"2025-05-19T19:20:23.0684766+00:00","CancelTime":"2025-05-19T19:20:23.0684766+00:00"}],"FlexibilityContracts":[{"MaxPowerPrActivation":1.1,"AssetId":13,"Id":"cd34e64b-aa57-4998-b855-e9789da08808","MaxNumOfActivationPrTimeInterval":1,"AssetName":"sample string 14","ContractId":"c8051f37-90f5-45fe-b065-7795f2549b08","DaysAllowedForActivation":0,"Name":"sample string 17","PermittedIntervals":"sample string 2","ValidFrom":"2025-05-19T19:20:23.0841048+00:00","MaxAllowedActivationTime":1,"ValidTo":"2025-05-19T19:20:23.0841048+00:00","MininumTimeBetweenActivation":3,"CancelTime":"2025-05-19T19:20:23.0841048+00:00","Tolerance":4.1,"Signed":"2025-05-19T19:20:23.0841048+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":"cd34e64b-aa57-4998-b855-e9789da08808","MaxNumOfActivationPrTimeInterval":1,"AssetName":"sample string 14","ContractId":"c8051f37-90f5-45fe-b065-7795f2549b08","DaysAllowedForActivation":0,"Name":"sample string 17","PermittedIntervals":"sample string 2","ValidFrom":"2025-05-19T19:20:23.0841048+00:00","MaxAllowedActivationTime":1,"ValidTo":"2025-05-19T19:20:23.0841048+00:00","MininumTimeBetweenActivation":3,"CancelTime":"2025-05-19T19:20:23.0841048+00:00","Tolerance":4.1,"Signed":"2025-05-19T19:20:23.0841048+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}]}