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}

/** @description Get metering points from www.eancodeboek.nl */
// @Api(Description="Get metering points from www.eancodeboek.nl")
export class EanCodeBookRequestWithSuffix
{
    /** @description Postcode, format: 1234AB */
    // @ApiMember(DataType="string", Description="Postcode, format: 1234AB", IsRequired=true, Name="Postcode")
    public Postcode: string;

    /** @description Housenumber, format: integer number */
    // @ApiMember(DataType="integer", Description="Housenumber, format: integer number", IsRequired=true, Name="HouseNumber")
    public HouseNumber: number;

    /** @description Suffix */
    // @ApiMember(DataType="string", Description="Suffix", Name="Suffix")
    public Suffix: string;

    /** @description OPTIONAL: don't put data in wrapper */
    // @ApiMember(DataType="boolean", Description="OPTIONAL: don't put data in wrapper", Name="OnlyPayload")
    public OnlyPayload: boolean;

    public constructor(init?: Partial<EanCodeBookRequestWithSuffix>) { (Object as any).assign(this, init); }
}

TypeScript EanCodeBookRequestWithSuffix 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}/{Suffix} HTTP/1.1 
Host: ean.smartdatasolutions.nl 
Accept: text/jsonl