POST | /response/checksaddedbyid |
---|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using CDD_Engine_WS.dto.Requests;
using CDD_Engine_DLL.DataObjects;
namespace CDD_Engine_DLL.DataObjects
{
public partial class EventStoreResults
{
public virtual int ResultsID { get; set; }
public virtual string ApplicationGUID { get; set; }
public virtual int CDDCheckID { get; set; }
public virtual string CDDCheckOutcome { get; set; }
public virtual string ResultCheckID { get; set; }
public virtual string ResultJSON { get; set; }
public virtual string DateResultAdded { get; set; }
}
}
namespace CDD_Engine_WS.dto.Requests
{
public partial class CDDResponse_RetrieveChecksAddedByIDRequest
{
public virtual string ApplicationGUID { get; set; }
public virtual int CDDCheckID { get; set; }
}
}
C# CDDResponse_RetrieveChecksAddedByIDRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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: application/json
Content-Type: application/json
Content-Length: length
{"ApplicationGUID":"String","CDDCheckID":0}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"ResultsID":0,"ApplicationGUID":"String","CDDCheckID":0,"CDDCheckOutcome":"String","ResultCheckID":"String","ResultJSON":"String","DateResultAdded":"String"}