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}
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

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

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

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

        /**
        * OPTIONAL: don't put data in wrapper
        */
        @ApiMember(DataType="boolean", Description="OPTIONAL: don't put data in wrapper", Name="OnlyPayload")
        public Boolean OnlyPayload = null;
        
        public String getPostcode() { return Postcode; }
        public EanCodeBookRequestWithSuffix setPostcode(String value) { this.Postcode = value; return this; }
        public Integer getHouseNumber() { return HouseNumber; }
        public EanCodeBookRequestWithSuffix setHouseNumber(Integer value) { this.HouseNumber = value; return this; }
        public String getSuffix() { return Suffix; }
        public EanCodeBookRequestWithSuffix setSuffix(String value) { this.Suffix = value; return this; }
        public Boolean isOnlyPayload() { return OnlyPayload; }
        public EanCodeBookRequestWithSuffix setOnlyPayload(Boolean value) { this.OnlyPayload = value; return this; }
    }

}

Java 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