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 .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/checksaddedbyid HTTP/1.1
Host: wp-cddws-test.worldpay.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
ApplicationGUID: String,
CDDCheckID: 0
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { ResultsID: 0, ApplicationGUID: String, CDDCheckID: 0, CDDCheckOutcome: String, ResultCheckID: String, ResultJSON: String, DateResultAdded: String }