Elering / estfeed-datahub-docs

Estfeed Datahub Documentation
0 stars 0 forks source link

[EDH-2384] Cannot update AGGREGATION agreement #16

Closed EinarArro closed 3 months ago

EinarArro commented 5 months ago

Description

Cannot update AGGREGATION agreement, because the system thinks that the parent MP doesn't have sufficient GRID agreement.

Request

{
  "marketParticipantContext": {
    "marketParticipantIdentification": "38X-EIN-ALL----B",
    "marketParticipantRole": "AGGREGATOR",
    "commodityType": "ELECTRICITY"
  },
  "agreementChange": {
    "agreementId": "einar-2024-05-02T15:19:14.028093+03:00-EST",
    "meterEic": "28ZAG-1000000A-8",
    "agreementType": "AGGREGATION",
    "serviceProviderEic": "38X-EIN-ALL----B",
    "customerEic": "38X-AVP-ZW6700C6",
    "preliminaryTerminationFee": false,
    "commodityType": "ELECTRICITY",
    "validFrom": "2024-05-03T00:00:00+03:00",
    "validTo": "2024-05-18T00:00:00+03:00"
  }
}

Response

{
  "id": "4059d83e-65e4-4827-9594-b6b53ad55f71",
  "cause": {
    "message": "Grid agreement of parent metering point must exist on the whole period of aggregation agreement",
    "code": "mpm.error.business.grid-agreement-is-prerequisite-of-aggregation-agreement",
    "queue": "mpm_update_agreement_req_q",
    "traceId": "e2744375ca2d4c769c393812c7a34ae0",
    "args": []
  }
}