Versions Compared

Key

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

...

Code Block
titleAgreement response
[
  {
    "Id":            <value>      		// Hardcoded: set to the supplied serviceId (eanNumber), NOT the
                                  //   contract id. (Intended Data: AgreementId / grouping key.)
    "ServiceId":     <value>      		// Hardcoded: set to the supplied serviceId (eanNumber).
                                  //   (Intended Data: the service id from the row.)
    "DisplayName":   "Dit elprodukt" 	// Hardcoded: literal Danish string "Dit elprodukt".
                                  //   (Intended Data: contract name - BAKONTRAKT/AFORBKONTR.KONTRAKT.)
    "AgreementType": null         		// Hardcoded null: always null today.
                                  //   (Intended Data: BAKONTRAKT.TYP -> ContractType.)
    "StartDate":     null         		// Hardcoded null: always null today.
                                  //   (Intended Data: AFORBKONTR/BAKONTRAKT.FRADATO -> ContractActiveFrom.)
    "EndDate":       null         		// Hardcoded null: always null today.
                                  //   (Intended Data: AFORBKONTR/BAKONTRAKT.TILDATO -> ContractActiveTo.)
    "HasCapacityTariffs": null    		// Hardcoded null: always null today.
                                  //   (Intended Data: DbAgreement.HasCapacityTariffs - not populated by SQL.)
    "Info":          []           		// Hardcoded: always an empty array (new List<BrightAgreementInfo>()).
                                  //   (Intended Data: list of {Title, Key, Value} from InfoTitle/
                                  //    InfoKey/InfoKey/InfoValue rows - currently nevernot populated.)
  }
]
Code Block
titleEach Info entry
 {
    "Title": <value>             // Data (intended): DbAgreement.InfoTitle - nevernot emitted today.
    "Key":   <value>             // Data (intended): DbAgreement.InfoKey   - nevernot emitted today.
    "Value": <value>             // Data (intended): DbAgreement.InfoValue - nevernot emitted today.
  }