| POST | /v1/ValidateBaumusterOfferUpload | Validate Baumuster Offer file | 
|---|
import 'package:servicestack/servicestack.dart';
class DataProcessResponse implements IConvertible
{
    int? id;
    int? type;
    String? typeName;
    String? statusName;
    int? status;
    int? totalRecords;
    int? processedRecords;
    String? fileName;
    String? originalFileName;
    String? dateCreated;
    String? dateStarted;
    String? dateFinished;
    String? gasId;
    DataProcessResponse({this.id,this.type,this.typeName,this.statusName,this.status,this.totalRecords,this.processedRecords,this.fileName,this.originalFileName,this.dateCreated,this.dateStarted,this.dateFinished,this.gasId});
    DataProcessResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
    fromMap(Map<String, dynamic> json) {
        id = json['id'];
        type = json['type'];
        typeName = json['typeName'];
        statusName = json['statusName'];
        status = json['status'];
        totalRecords = json['totalRecords'];
        processedRecords = json['processedRecords'];
        fileName = json['fileName'];
        originalFileName = json['originalFileName'];
        dateCreated = json['dateCreated'];
        dateStarted = json['dateStarted'];
        dateFinished = json['dateFinished'];
        gasId = json['gasId'];
        return this;
    }
    Map<String, dynamic> toJson() => {
        'id': id,
        'type': type,
        'typeName': typeName,
        'statusName': statusName,
        'status': status,
        'totalRecords': totalRecords,
        'processedRecords': processedRecords,
        'fileName': fileName,
        'originalFileName': originalFileName,
        'dateCreated': dateCreated,
        'dateStarted': dateStarted,
        'dateFinished': dateFinished,
        'gasId': gasId
    };
    getTypeName() => "DataProcessResponse";
    TypeContext? context = _ctx;
}
class ValidationBaumusterOfferUploadRequest implements IPost, IConvertible
{
    ValidationBaumusterOfferUploadRequest();
    ValidationBaumusterOfferUploadRequest.fromJson(Map<String, dynamic> json) : super();
    fromMap(Map<String, dynamic> json) {
        return this;
    }
    Map<String, dynamic> toJson() => {};
    getTypeName() => "ValidationBaumusterOfferUploadRequest";
    TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'uat_api_vehicle_mgt_mb_dhc.rapp_customers.co.uk', types: <String, TypeInfo> {
    'DataProcessResponse': TypeInfo(TypeOf.Class, create:() => DataProcessResponse()),
    'ValidationBaumusterOfferUploadRequest': TypeInfo(TypeOf.Class, create:() => ValidationBaumusterOfferUploadRequest()),
});
Dart ValidationBaumusterOfferUploadRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v1/ValidateBaumusterOfferUpload HTTP/1.1 
Host: uat-api-vehicle-mgt-mb-dhc.rapp-customers.co.uk 
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<ValidationBaumusterOfferUploadRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mercedes.VehicleManagement.API.Shared.POCO.DataProcess.BaumusterOffer" />
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <DataProcessResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mercedes.VehicleManagement.API.Shared.POCO.DataProcess"> <DateCreated>String</DateCreated> <DateFinished>String</DateFinished> <DateStarted>String</DateStarted> <FileName>String</FileName> <GasId>String</GasId> <Id>0</Id> <OriginalFileName>String</OriginalFileName> <ProcessedRecords>0</ProcessedRecords> <Status>0</Status> <StatusName>String</StatusName> <TotalRecords>0</TotalRecords> <Type>0</Type> <TypeName>String</TypeName> </DataProcessResponse>