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
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports CDD_Engine_WS.dto.Requests
Imports ThirdPartyServices_ClassLibraries.DocumentValidations

Namespace Global

    Namespace CDD_Engine_WS.dto.Requests

        Public Partial Class DocumentVerificationRequest
            Public Sub New()
                Documents = New List(Of DocumentData)
            End Sub

            Public Overridable Property ApplicationGUID As String
            Public Overridable Property Documents As List(Of DocumentData)
        End Class
    End Namespace

    Namespace ThirdPartyServices_ClassLibraries.DocumentValidations

        Public Partial Class DocumentData
            Public Overridable Property DocumentType As String
            Public Overridable Property FileName As String
            Public Overridable Property FileData As String
        End Class
    End Namespace
End Namespace

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

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