MBOnlineCreditApplicationService

<back to all web services

RAPPHeartbeat

Requires Authentication
The following routes are available for this service:
GET/RAPPHeartbeat/
import 'package:servicestack/servicestack.dart';

class RAPPHeartbeatResponse implements IConvertible
{
    String? Message;

    RAPPHeartbeatResponse({this.Message});
    RAPPHeartbeatResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }

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

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

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

class RAPPHeartbeat implements IConvertible
{
    RAPPHeartbeat();
    RAPPHeartbeat.fromJson(Map<String, dynamic> json) : super();
    fromMap(Map<String, dynamic> json) {
        return this;
    }

    Map<String, dynamic> toJson() => {};
    getTypeName() => "RAPPHeartbeat";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'webservices.mbukdatabase.co.uk', types: <String, TypeInfo> {
    'RAPPHeartbeatResponse': TypeInfo(TypeOf.Class, create:() => RAPPHeartbeatResponse()),
    'RAPPHeartbeat': TypeInfo(TypeOf.Class, create:() => RAPPHeartbeat()),
});

Dart RAPPHeartbeat DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /RAPPHeartbeat/ HTTP/1.1 
Host: webservices.mbukdatabase.co.uk 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Message":"String"}