Mercedes.VehicleManagement.API

<back to all web services

BulkVehicleReprocessAuditRequest

VehicleReprocess
Requires Authentication
The following routes are available for this service:
GET/v1/vehicle/GetVehicleReprocessHistoryGet Vehicle Reprocessing History
import 'package:servicestack/servicestack.dart';

class BulkVehicleReprocessHistory implements IConvertible
{
    String? fileName;
    String? dateStarted;
    String? dateFinished;
    int? totalRecords;
    int? processedRecords;
    String? gasId;
    String? status;

    BulkVehicleReprocessHistory({this.fileName,this.dateStarted,this.dateFinished,this.totalRecords,this.processedRecords,this.gasId,this.status});
    BulkVehicleReprocessHistory.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        fileName = json['fileName'];
        dateStarted = json['dateStarted'];
        dateFinished = json['dateFinished'];
        totalRecords = json['totalRecords'];
        processedRecords = json['processedRecords'];
        gasId = json['gasId'];
        status = json['status'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'fileName': fileName,
        'dateStarted': dateStarted,
        'dateFinished': dateFinished,
        'totalRecords': totalRecords,
        'processedRecords': processedRecords,
        'gasId': gasId,
        'status': status
    };

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

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

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

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

Dart BulkVehicleReprocessAuditRequest 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 /v1/vehicle/GetVehicleReprocessHistory HTTP/1.1 
Host: uat-api-vehicle-mgt-mb-dhc.rapp-customers.co.uk 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"fileName":"String","dateStarted":"String","dateFinished":"String","totalRecords":0,"processedRecords":0,"gasId":"String","status":"String"}