CDD Engine Web Service v2.14.0.0

<back to all web services

CDDResponse_RetrieveChecksAddedByIDRequest

Requires Authentication
The following routes are available for this service:
POST/response/checksaddedbyid
import 'package:servicestack/servicestack.dart';

class CDDResponse_RetrieveChecksAddedByIDRequest implements IConvertible
{
    String? ApplicationGUID;
    int? CDDCheckID;

    CDDResponse_RetrieveChecksAddedByIDRequest({this.ApplicationGUID,this.CDDCheckID});
    CDDResponse_RetrieveChecksAddedByIDRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        ApplicationGUID = json['ApplicationGUID'];
        CDDCheckID = json['CDDCheckID'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'ApplicationGUID': ApplicationGUID,
        'CDDCheckID': CDDCheckID
    };

    getTypeName() => "CDDResponse_RetrieveChecksAddedByIDRequest";
    TypeContext? context = _ctx;
}

class EventStoreResults implements IConvertible
{
    int? ResultsID;
    String? ApplicationGUID;
    int? CDDCheckID;
    String? CDDCheckOutcome;
    String? ResultCheckID;
    String? ResultJSON;
    String? DateResultAdded;

    EventStoreResults({this.ResultsID,this.ApplicationGUID,this.CDDCheckID,this.CDDCheckOutcome,this.ResultCheckID,this.ResultJSON,this.DateResultAdded});
    EventStoreResults.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        ResultsID = json['ResultsID'];
        ApplicationGUID = json['ApplicationGUID'];
        CDDCheckID = json['CDDCheckID'];
        CDDCheckOutcome = json['CDDCheckOutcome'];
        ResultCheckID = json['ResultCheckID'];
        ResultJSON = json['ResultJSON'];
        DateResultAdded = json['DateResultAdded'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'ResultsID': ResultsID,
        'ApplicationGUID': ApplicationGUID,
        'CDDCheckID': CDDCheckID,
        'CDDCheckOutcome': CDDCheckOutcome,
        'ResultCheckID': ResultCheckID,
        'ResultJSON': ResultJSON,
        'DateResultAdded': DateResultAdded
    };

    getTypeName() => "EventStoreResults";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'wp_cddws_test.worldpay.com', types: <String, TypeInfo> {
    'CDDResponse_RetrieveChecksAddedByIDRequest': TypeInfo(TypeOf.Class, create:() => CDDResponse_RetrieveChecksAddedByIDRequest()),
    'EventStoreResults': TypeInfo(TypeOf.Class, create:() => EventStoreResults()),
});

Dart 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

HTTP + JSON

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"}