SDS.APIs.Legacy.EanCodeBook

<back to all web services

EanCodeBookRequest

Get metering points from www.eancodeboek.nl

The following routes are available for this service:
GET/eancodebook/{Postcode}/{HouseNumber}
"use strict";
export class EanCodeBookRequest {
    /** @param {{Postcode?:string,HouseNumber?:number,OnlyPayload?:boolean}} [init] */
    constructor(init) { Object.assign(this, init) }
    /**
     * @type {string}
     * @description Postcode, format: 1234AB */
    Postcode;
    /**
     * @type {number}
     * @description Housenumber, format: integer number */
    HouseNumber;
    /**
     * @type {boolean}
     * @description OPTIONAL: don't put data in wrapper */
    OnlyPayload;
}

JavaScript EanCodeBookRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /eancodebook/{Postcode}/{HouseNumber} HTTP/1.1 
Host: ean.smartdatasolutions.nl 
Accept: text/jsonl