POST | /response/request |
---|
namespace CDD_Engine_DLL.DataObjects
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type CDDResponseRequest() =
member val ApplicationGUID:String = null with get,set
[<AllowNullLiteral>]
type EventResponse() =
member val ApplicationGUID:String = null with get,set
member val AuditFileID:String = null with get,set
member val ResponseDesc:String = null with get,set
member val ReportURL:String = null with get,set
member val EventType:String = null with get,set
member val DateChecked:Nullable<DateTime> = new Nullable<DateTime>() with get,set
member val CDDCheckID:Nullable<Int32> = new Nullable<Int32>() with get,set
member val StatusCode:Nullable<Int32> = new Nullable<Int32>() with get,set
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/request HTTP/1.1
Host: wp-cddws-test.worldpay.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"ApplicationGUID":"String"}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"ApplicationGUID":"String","AuditFileID":"String","ResponseDesc":"String","ReportURL":"String","EventType":"String","DateChecked":"\/Date(-62135596800000-0000)\/","CDDCheckID":0,"StatusCode":0}