MBMMFAutoEnrol

<back to all web services

ValidateDetailsRequest

Requires Authentication
The following routes are available for this service:
POST/ValidateDetails/

export class ValidateDetailsResponse
{
    public BPID: number;
    public IsValid: boolean;
    public IsLocked: boolean;
    public AttemptsRemaining: number;
    public Error: string;

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

export class ValidateDetailsRequest
{
    public GUID: string;
    public Postcode: string;
    public Number4: string;
    public Email: string;
    public EmailConfirm: string;

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

TypeScript ValidateDetailsRequest DTOs

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

HTTP + JSV

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

POST /ValidateDetails/ HTTP/1.1 
Host: webservices.mbukdatabase.co.uk 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	GUID: 00000000000000000000000000000000,
	Postcode: String,
	Number4: String,
	Email: String,
	EmailConfirm: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	BPID: 0,
	IsValid: False,
	IsLocked: False,
	AttemptsRemaining: 0,
	Error: String
}