POST | /AddressLookup/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
Namespace Global
Namespace CDD_Engine_WS.dto.Requests
Public Partial Class AddressLookupRequest
Public Overridable Property CSR As String
Public Overridable Property Text As String
Public Overridable Property Container As String
Public Overridable Property Type As String
Public Overridable Property SourceCode As String
End Class
End Namespace
End Namespace
VB.NET AddressLookupRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /AddressLookup/submit HTTP/1.1
Host: wp-cddws-test.worldpay.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"CSR":"String","Text":"String","Container":"String","Type":"String","SourceCode":"String"}