MBMMFAutoEnrol

<back to all web services

ValidateDetailsRequest

Requires Authentication
The following routes are available for this service:
POST/ValidateDetails/
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class ValidateDetailsRequest
    {
        public UUID GUID = null;
        public String Postcode = null;
        public String Number4 = null;
        public String Email = null;
        public String EmailConfirm = null;
        
        public UUID getGuid() { return GUID; }
        public ValidateDetailsRequest setGuid(UUID value) { this.GUID = value; return this; }
        public String getPostcode() { return Postcode; }
        public ValidateDetailsRequest setPostcode(String value) { this.Postcode = value; return this; }
        public String getNumber4() { return Number4; }
        public ValidateDetailsRequest setNumber4(String value) { this.Number4 = value; return this; }
        public String getEmail() { return Email; }
        public ValidateDetailsRequest setEmail(String value) { this.Email = value; return this; }
        public String getEmailConfirm() { return EmailConfirm; }
        public ValidateDetailsRequest setEmailConfirm(String value) { this.EmailConfirm = value; return this; }
    }

    public static class ValidateDetailsResponse
    {
        public Integer BPID = null;
        public Boolean IsValid = null;
        public Boolean IsLocked = null;
        public Integer AttemptsRemaining = null;
        public String Error = null;
        
        public Integer getBpid() { return BPID; }
        public ValidateDetailsResponse setBpid(Integer value) { this.BPID = value; return this; }
        public Boolean getIsValid() { return IsValid; }
        public ValidateDetailsResponse setIsValid(Boolean value) { this.IsValid = value; return this; }
        public Boolean getIsLocked() { return IsLocked; }
        public ValidateDetailsResponse setIsLocked(Boolean value) { this.IsLocked = value; return this; }
        public Integer getAttemptsRemaining() { return AttemptsRemaining; }
        public ValidateDetailsResponse setAttemptsRemaining(Integer value) { this.AttemptsRemaining = value; return this; }
        public String getError() { return Error; }
        public ValidateDetailsResponse setError(String value) { this.Error = value; return this; }
    }

}

Java ValidateDetailsRequest 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.

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

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

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