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

HTTP + XML

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

<DocumentVerificationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CDD_Engine_WS.dto.Requests">
  <ApplicationGUID>String</ApplicationGUID>
  <Documents xmlns:d2p1="http://schemas.datacontract.org/2004/07/ThirdPartyServices_ClassLibraries.DocumentValidations">
    <d2p1:DocumentData>
      <d2p1:DocumentType>String</d2p1:DocumentType>
      <d2p1:FileData>String</d2p1:FileData>
      <d2p1:FileName>String</d2p1:FileName>
    </d2p1:DocumentData>
  </Documents>
</DocumentVerificationRequest>