POST | /response/requestaddedfor |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class CDDResponse_RequestAddedForRequest
{
public String ApplicationGUID = null;
public Integer CDDCheckID = null;
public String getApplicationGUID() { return ApplicationGUID; }
public CDDResponse_RequestAddedForRequest setApplicationGUID(String value) { this.ApplicationGUID = value; return this; }
public Integer getCddCheckID() { return CDDCheckID; }
public CDDResponse_RequestAddedForRequest setCddCheckID(Integer value) { this.CDDCheckID = value; return this; }
}
public static class EventStore
{
public String ApplicationGUID = null;
public Integer StatusCode = null;
public String CDDEngineAppGUID = null;
public String AuditFileID = null;
public String Request = null;
public String ResponseDesc = null;
public String Response = null;
public Date DateAdded = null;
public String AddedBy = null;
public Date DateChecked = null;
public Integer CDDCheckID = null;
public String getApplicationGUID() { return ApplicationGUID; }
public EventStore setApplicationGUID(String value) { this.ApplicationGUID = value; return this; }
public Integer getStatusCode() { return StatusCode; }
public EventStore setStatusCode(Integer value) { this.StatusCode = value; return this; }
public String getCddEngineAppGUID() { return CDDEngineAppGUID; }
public EventStore setCddEngineAppGUID(String value) { this.CDDEngineAppGUID = value; return this; }
public String getAuditFileID() { return AuditFileID; }
public EventStore setAuditFileID(String value) { this.AuditFileID = value; return this; }
public String getRequest() { return Request; }
public EventStore setRequest(String value) { this.Request = value; return this; }
public String getResponseDesc() { return ResponseDesc; }
public EventStore setResponseDesc(String value) { this.ResponseDesc = value; return this; }
public String getResponse() { return Response; }
public EventStore setResponse(String value) { this.Response = value; return this; }
public Date getDateAdded() { return DateAdded; }
public EventStore setDateAdded(Date value) { this.DateAdded = value; return this; }
public String getAddedBy() { return AddedBy; }
public EventStore setAddedBy(String value) { this.AddedBy = value; return this; }
public Date getDateChecked() { return DateChecked; }
public EventStore setDateChecked(Date value) { this.DateChecked = value; return this; }
public Integer getCddCheckID() { return CDDCheckID; }
public EventStore setCddCheckID(Integer value) { this.CDDCheckID = value; return this; }
}
}
Java CDDResponse_RequestAddedForRequest 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/requestaddedfor HTTP/1.1
Host: wpcdd-featuretest-ws.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 { ApplicationGUID: String, StatusCode: 0, CDDEngineAppGUID: String, AuditFileID: String, Request: String, ResponseDesc: String, Response: String, DateAdded: 0001-01-01, AddedBy: String, DateChecked: 0001-01-01, CDDCheckID: 0 }