Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

one group, and each contract row becomes one entry in that group's Prices list.

[

  {

...

Code Block
[
  {
    "ValidFrom": null,             // Hardcoded

...

 null 
    "ValidTo": null,               // Hardcoded

...

 null 
    "ServiceId": "<serviceId>",    // Echo of request serviceId param

...

 (MeteringPointId)
    "Prices":

...

      {

...

 [
      {
        "Value": 0,                // Hardcoded

...

 0 
        "Type": "kWh",             // Hardcoded "kWh"

...

 
        "Note": null,              // Hardcoded

...

 null 
        "Name": "kWhPrice",        // Hardcoded "kWhPrice"

...

 
        "ValidFrom": "<datetime>", // Data: AFORBKONTR.FRADATO (DbProduct.ContractActiveFrom)

...


        "ValidTo": "<datetime>",   // Data: AFORBKONTR.TILDATO (DbProduct.ContractActiveTo); null = open-ended

...


        "ValidHours": [],          // Not

...

 mapped 
        "ValidMonth": [],          // Not

...

 mapped 
        "ValidPart": null,         // Not

...

 mapped 
        "ValidFraction": null,     // Not

...

 mapped 
        "SubtractMeasurement": null// Not

...

      }

    ]

  }

 mapped 
      }
    ]
  }
]




Notes:

  - Property names above are the C# names; no [JsonPropertyName] attributes are

...