SDS.APIs.Legacy.EanCodeBook

<back to all web services

EanCheckOnNumberRequest

Check if last six digits of the serial number of the smart meter belong to this ean

The following routes are available for this service:
GET/EanCheckOnNumber/{Ean}/{LastSixDigitsOfNumber}

/** @description Check if last six digits of the serial number of the smart meter belong to this ean */
// @Api(Description="Check if last six digits of the serial number of the smart meter belong to this ean")
export class EanCheckOnNumberRequest
{
    /** @description Ean of the metering point */
    // @ApiMember(DataType="string", Description="Ean of the metering point", IsRequired=true, Name="Ean")
    public Ean: string;

    /** @description Last six digits of the smart meter serial number, format: integer number */
    // @ApiMember(DataType="string", Description="Last six digits of the smart meter serial number, format: integer number", IsRequired=true, Name="LastSixDigitsOfNumber")
    public LastSixDigitsOfNumber: string;

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

TypeScript EanCheckOnNumberRequest DTOs

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

HTTP + CSV

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

GET /EanCheckOnNumber/{Ean}/{LastSixDigitsOfNumber} HTTP/1.1 
Host: ean.smartdatasolutions.nl 
Accept: text/csv