POST | /DocumentVerification/submit |
---|
namespace CDD_Engine_WS.dto.Requests
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type DocumentData() =
member val DocumentType:String = null with get,set
member val FileName:String = null with get,set
member val FileData:String = null with get,set
[<AllowNullLiteral>]
type DocumentVerificationRequest() =
member val ApplicationGUID:String = null with get,set
member val Documents:ResizeArray<DocumentData> = new ResizeArray<DocumentData>() with get,set
F# DocumentVerificationRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=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>