POST | /response/requestaddedfor |
---|
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 CDD_Engine_DLL.DataObjects
Namespace Global
Namespace CDD_Engine_DLL.DataObjects
Public Partial Class EventStore
Public Overridable Property ApplicationGUID As String
Public Overridable Property StatusCode As Nullable(Of Integer)
Public Overridable Property CDDEngineAppGUID As String
Public Overridable Property AuditFileID As String
Public Overridable Property Request As String
Public Overridable Property ResponseDesc As String
Public Overridable Property Response As String
Public Overridable Property DateAdded As Nullable(Of Date)
Public Overridable Property AddedBy As String
Public Overridable Property DateChecked As Nullable(Of Date)
Public Overridable Property CDDCheckID As Nullable(Of Integer)
End Class
End Namespace
Namespace CDD_Engine_WS.dto.Requests
Public Partial Class CDDResponse_RequestAddedForRequest
Public Overridable Property ApplicationGUID As String
Public Overridable Property CDDCheckID As Nullable(Of Integer)
End Class
End Namespace
End Namespace
VB.NET CDDResponse_RequestAddedForRequest 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 /response/requestaddedfor HTTP/1.1
Host: wp-cddws-test.worldpay.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"ApplicationGUID":"String","CDDCheckID":0}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"ApplicationGUID":"String","StatusCode":0,"CDDEngineAppGUID":"String","AuditFileID":"String","Request":"String","ResponseDesc":"String","Response":"String","DateAdded":"\/Date(-62135596800000-0000)\/","AddedBy":"String","DateChecked":"\/Date(-62135596800000-0000)\/","CDDCheckID":0}