MBMMFAutoEnrol

<back to all web services

ValidateDetailsRequest

Requires Authentication
The following routes are available for this service:
POST/ValidateDetails/
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using MBMMFAutoEnrol.ServiceInterface.Services.GetDetails;

namespace MBMMFAutoEnrol.ServiceInterface.Services.GetDetails
{
    public partial class ValidateDetailsRequest
    {
        public virtual Guid GUID { get; set; }
        public virtual string Postcode { get; set; }
        public virtual string Number4 { get; set; }
        public virtual string Email { get; set; }
        public virtual string EmailConfirm { get; set; }
    }

    public partial class ValidateDetailsResponse
    {
        public virtual int BPID { get; set; }
        public virtual bool IsValid { get; set; }
        public virtual bool IsLocked { get; set; }
        public virtual int AttemptsRemaining { get; set; }
        public virtual string Error { get; set; }
    }

}

C# ValidateDetailsRequest 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.

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

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

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