CDD Engine Web Service v2.14.0.0

<back to all web services

DocumentVerificationRequest

Requires Authentication
The following routes are available for this service:
POST/DocumentVerification/submit
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using CDD_Engine_WS.dto.Requests;
using ThirdPartyServices_ClassLibraries.DocumentValidations;

namespace CDD_Engine_WS.dto.Requests
{
    public partial class DocumentVerificationRequest
    {
        public DocumentVerificationRequest()
        {
            Documents = new List<DocumentData>{};
        }

        public virtual string ApplicationGUID { get; set; }
        public virtual List<DocumentData> Documents { get; set; }
    }

}

namespace ThirdPartyServices_ClassLibraries.DocumentValidations
{
    public partial class DocumentData
    {
        public virtual string DocumentType { get; set; }
        public virtual string FileName { get; set; }
        public virtual string FileData { get; set; }
    }

}

C# DocumentVerificationRequest 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 /DocumentVerification/submit HTTP/1.1 
Host: wpcdd-featuretest-ws.worldpay.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	ApplicationGUID: String,
	Documents: 
	[
		{
			DocumentType: String,
			FileName: String,
			FileData: String
		}
	]
}