POST | /response/request |
---|
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 EventResponse
Public Overridable Property ApplicationGUID As String
Public Overridable Property AuditFileID As String
Public Overridable Property ResponseDesc As String
Public Overridable Property ReportURL As String
Public Overridable Property EventType As String
Public Overridable Property DateChecked As Nullable(Of Date)
Public Overridable Property CDDCheckID As Nullable(Of Integer)
Public Overridable Property StatusCode As Nullable(Of Integer)
End Class
End Namespace
Namespace CDD_Engine_WS.dto.Requests
Public Partial Class CDDResponseRequest
Public Overridable Property ApplicationGUID As String
End Class
End Namespace
End Namespace
VB.NET CDDResponseRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /response/request HTTP/1.1
Host: wp-cddws-test.worldpay.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"ApplicationGUID":"String"}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"ApplicationGUID":"String","AuditFileID":"String","ResponseDesc":"String","ReportURL":"String","EventType":"String","DateChecked":"\/Date(-62135596800000-0000)\/","CDDCheckID":0,"StatusCode":0}