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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: application/json
Content-Type: application/json
Content-Length: length

{"GUID":"00000000000000000000000000000000","Postcode":"String","Number4":"String","Email":"String","EmailConfirm":"String","IsSignedUp":false,"IsPrivacyChecked":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"BPID":0,"IsValid":false,"IsLocked":false,"AttemptsRemaining":0,"Error":"String"}