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 .jsv suffix or ?format=jsv
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: wpcdd-featuretest-ws.worldpay.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
ApplicationGUID: String
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { ApplicationGUID: String, AuditFileID: String, ResponseDesc: String, ReportURL: String, EventType: String, DateChecked: 0001-01-01, CDDCheckID: 0, StatusCode: 0 }