Mercedes.VehicleManagement.API

<back to all web services

GetNewCarDeltaDataRequest

DeltaManagement
Requires Authentication
The following routes are available for this service:
GET/v1/NewCarDeltaGets the new car delta data
import 'package:servicestack/servicestack.dart';

class DeltaDataResponse implements IConvertible
{
    bool? deltaStatus;
    String? deltaStatusDate;

    DeltaDataResponse({this.deltaStatus,this.deltaStatusDate});
    DeltaDataResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }

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

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

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

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

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

TypeContext _ctx = TypeContext(library: 'uat_api_vehicle_mgt_mb_dhc.rapp_customers.co.uk', types: <String, TypeInfo> {
    'DeltaDataResponse': TypeInfo(TypeOf.Class, create:() => DeltaDataResponse()),
    'GetNewCarDeltaDataRequest': TypeInfo(TypeOf.Class, create:() => GetNewCarDeltaDataRequest()),
});

Dart GetNewCarDeltaDataRequest DTOs

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

HTTP + OTHER

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

GET /v1/NewCarDelta HTTP/1.1 
Host: uat-api-vehicle-mgt-mb-dhc.rapp-customers.co.uk 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"deltaStatus":false,"deltaStatusDate":"String"}