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 .xml suffix or ?format=xml
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: application/xml
Content-Type: application/xml
Content-Length: length
<CDDResponse_RequestAddedForRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CDD_Engine_WS.dto.Requests">
<ApplicationGUID>String</ApplicationGUID>
<CDDCheckID>0</CDDCheckID>
</CDDResponse_RequestAddedForRequest>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <EventStore xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CDD_Engine_DLL.DataObjects"> <AddedBy>String</AddedBy> <ApplicationGUID>String</ApplicationGUID> <AuditFileID>String</AuditFileID> <CDDCheckID>0</CDDCheckID> <CDDEngineAppGUID>String</CDDEngineAppGUID> <DateAdded>0001-01-01T00:00:00</DateAdded> <DateChecked>0001-01-01T00:00:00</DateChecked> <Request>String</Request> <Response>String</Response> <ResponseDesc>String</ResponseDesc> <StatusCode>0</StatusCode> </EventStore>