MBMMFAutoEnrol

<back to all web services

ValidateDetailsRequest

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

type ValidateDetailsResponse struct {
	Bpid              int     `json:"bpid,omitempty"`
	IsValid           bool    `json:"isValid,omitempty"`
	IsLocked          bool    `json:"isLocked,omitempty"`
	AttemptsRemaining int     `json:"attemptsRemaining,omitempty"`
	Error             *string `json:"error,omitempty"`
}

type ValidateDetailsRequest struct {
	Guid             string  `json:"guid,omitempty"`
	Postcode         *string `json:"postcode,omitempty"`
	Number4          *string `json:"number4,omitempty"`
	Email            *string `json:"email,omitempty"`
	EmailConfirm     *string `json:"emailConfirm,omitempty"`
	IsSignedUp       bool    `json:"isSignedUp,omitempty"`
	IsPrivacyChecked bool    `json:"isPrivacyChecked,omitempty"`
}

Go 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,
	IsSignedUp: False,
	IsPrivacyChecked: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

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