POST | /response/checksaddedbyid |
---|
import Foundation
import ServiceStack
public class CDDResponse_RetrieveChecksAddedByIDRequest : Codable
{
public var applicationGUID:String?
public var cddCheckID:Int?
required public init(){}
}
public class EventStoreResults : Codable
{
public var resultsID:Int?
public var applicationGUID:String?
public var cddCheckID:Int?
public var cddCheckOutcome:String?
public var resultCheckID:String?
public var resultJSON:String?
public var dateResultAdded:String?
required public init(){}
}
Swift CDDResponse_RetrieveChecksAddedByIDRequest 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/checksaddedbyid HTTP/1.1
Host: wpcdd-featuretest-ws.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 {"ResultsID":0,"ApplicationGUID":"String","CDDCheckID":0,"CDDCheckOutcome":"String","ResultCheckID":"String","ResultJSON":"String","DateResultAdded":"String"}