SDS.APIs.Legacy.EanCodeBook

<back to all web services

EanCodeBookRequestWithSuffix

Get metering points from www.eancodeboek.nl

The following routes are available for this service:
GET/eancodebook/{Postcode}/{HouseNumber}/{Suffix}
"use strict";
export class EanCodeBookRequestWithSuffix {
    /** @param {{Postcode?:string,HouseNumber?:number,Suffix?:string,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 {string}
     * @description Suffix */
    Suffix;
    /**
     * @type {boolean}
     * @description OPTIONAL: don't put data in wrapper */
    OnlyPayload;
}

JavaScript EanCodeBookRequestWithSuffix DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

GET /eancodebook/{Postcode}/{HouseNumber}/{Suffix} HTTP/1.1 
Host: ean.smartdatasolutions.nl 
Accept: application/json