Mercedes.Agency.Orchestration.API

<back to all web services

GetOrderCustomerRequest

Order
Requires Authentication
The following routes are available for this service:
GET/v1/order/customer/{CustomerId}Get Order by Customer
import 'package:servicestack/servicestack.dart';

class Order implements IConvertible
{
    String? Guid;
    String? Reference;
    int? Status;
    String? CustomerId;
    String? MulesoftReference;
    String? GasId;
    String? OrderDate;
    String? OfferSnapShot;

    Order({this.Guid,this.Reference,this.Status,this.CustomerId,this.MulesoftReference,this.GasId,this.OrderDate,this.OfferSnapShot});
    Order.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        Guid = json['Guid'];
        Reference = json['Reference'];
        Status = json['Status'];
        CustomerId = json['CustomerId'];
        MulesoftReference = json['MulesoftReference'];
        GasId = json['GasId'];
        OrderDate = json['OrderDate'];
        OfferSnapShot = json['OfferSnapShot'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'Guid': Guid,
        'Reference': Reference,
        'Status': Status,
        'CustomerId': CustomerId,
        'MulesoftReference': MulesoftReference,
        'GasId': GasId,
        'OrderDate': OrderDate,
        'OfferSnapShot': OfferSnapShot
    };

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

class OrderStatus implements IConvertible
{
    int? Id;
    String? Description;

    OrderStatus({this.Id,this.Description});
    OrderStatus.fromJson(Map<String, dynamic> json) { fromMap(json); }

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

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

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

class OnlineShowroomStatus implements IConvertible
{
    int? Id;
    String? Description;
    String? Slug;
    bool? Current;
    bool? Completed;
    List<OrderStatus>? OrderStatuses = [];

    OnlineShowroomStatus({this.Id,this.Description,this.Slug,this.Current,this.Completed,this.OrderStatuses});
    OnlineShowroomStatus.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        Id = json['Id'];
        Description = json['Description'];
        Slug = json['Slug'];
        Current = json['Current'];
        Completed = json['Completed'];
        OrderStatuses = JsonConverters.fromJson(json['OrderStatuses'],'List<OrderStatus>',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'Id': Id,
        'Description': Description,
        'Slug': Slug,
        'Current': Current,
        'Completed': Completed,
        'OrderStatuses': JsonConverters.toJson(OrderStatuses,'List<OrderStatus>',context!)
    };

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

class RetailerOpeningTime implements IConvertible
{
    String? Day;
    String? OpenFrom;
    String? OpenTo;
    String? Special;

    RetailerOpeningTime({this.Day,this.OpenFrom,this.OpenTo,this.Special});
    RetailerOpeningTime.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        Day = json['Day'];
        OpenFrom = json['OpenFrom'];
        OpenTo = json['OpenTo'];
        Special = json['Special'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'Day': Day,
        'OpenFrom': OpenFrom,
        'OpenTo': OpenTo,
        'Special': Special
    };

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

class RetailerOpeningTimes implements IConvertible
{
    List<RetailerOpeningTime>? New = [];
    List<RetailerOpeningTime>? Used = [];

    RetailerOpeningTimes({this.New,this.Used});
    RetailerOpeningTimes.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        New = JsonConverters.fromJson(json['New'],'List<RetailerOpeningTime>',context!);
        Used = JsonConverters.fromJson(json['Used'],'List<RetailerOpeningTime>',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'New': JsonConverters.toJson(New,'List<RetailerOpeningTime>',context!),
        'Used': JsonConverters.toJson(Used,'List<RetailerOpeningTime>',context!)
    };

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

class Retailer implements IConvertible
{
    int? Id;
    String? GssnId;
    String? Description;
    String? Street;
    String? City;
    String? Postcode;
    String? GoogleMapPostcode;
    String? Phone;
    String? Fax;
    String? Email;
    String? Website;
    String? RetailerGroupId;
    String? RetailerGroupName;
    bool? IsOnline;
    bool? IsNewCarRetailer;
    bool? IsUsedCarRetailer;
    bool? IsCentralRetailer;
    bool? ChatEnabled;
    bool? TradeInEnabled;
    bool? smart;
    String? DisplayPhoneNumberNew;
    String? DisplayPhoneNumberUsed;
    double? Latitude;
    double? Longitude;
    String? smartDescription;
    String? smartWebsite;
    String? smartPhone;
    String? LegacyId;
    bool? Agent;
    int? MarketAreaId;
    String? DigitalLoungeParentGssnId;
    bool? SendLeadsToDigitalLoungeParent;
    RetailerOpeningTimes? OpeningTimes;

    Retailer({this.Id,this.GssnId,this.Description,this.Street,this.City,this.Postcode,this.GoogleMapPostcode,this.Phone,this.Fax,this.Email,this.Website,this.RetailerGroupId,this.RetailerGroupName,this.IsOnline,this.IsNewCarRetailer,this.IsUsedCarRetailer,this.IsCentralRetailer,this.ChatEnabled,this.TradeInEnabled,this.smart,this.DisplayPhoneNumberNew,this.DisplayPhoneNumberUsed,this.Latitude,this.Longitude,this.smartDescription,this.smartWebsite,this.smartPhone,this.LegacyId,this.Agent,this.MarketAreaId,this.DigitalLoungeParentGssnId,this.SendLeadsToDigitalLoungeParent,this.OpeningTimes});
    Retailer.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        Id = json['Id'];
        GssnId = json['GssnId'];
        Description = json['Description'];
        Street = json['Street'];
        City = json['City'];
        Postcode = json['Postcode'];
        GoogleMapPostcode = json['GoogleMapPostcode'];
        Phone = json['Phone'];
        Fax = json['Fax'];
        Email = json['Email'];
        Website = json['Website'];
        RetailerGroupId = json['RetailerGroupId'];
        RetailerGroupName = json['RetailerGroupName'];
        IsOnline = json['IsOnline'];
        IsNewCarRetailer = json['IsNewCarRetailer'];
        IsUsedCarRetailer = json['IsUsedCarRetailer'];
        IsCentralRetailer = json['IsCentralRetailer'];
        ChatEnabled = json['ChatEnabled'];
        TradeInEnabled = json['TradeInEnabled'];
        smart = json['smart'];
        DisplayPhoneNumberNew = json['DisplayPhoneNumberNew'];
        DisplayPhoneNumberUsed = json['DisplayPhoneNumberUsed'];
        Latitude = JsonConverters.toDouble(json['Latitude']);
        Longitude = JsonConverters.toDouble(json['Longitude']);
        smartDescription = json['smartDescription'];
        smartWebsite = json['smartWebsite'];
        smartPhone = json['smartPhone'];
        LegacyId = json['LegacyId'];
        Agent = json['Agent'];
        MarketAreaId = json['MarketAreaId'];
        DigitalLoungeParentGssnId = json['DigitalLoungeParentGssnId'];
        SendLeadsToDigitalLoungeParent = json['SendLeadsToDigitalLoungeParent'];
        OpeningTimes = JsonConverters.fromJson(json['OpeningTimes'],'RetailerOpeningTimes',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'Id': Id,
        'GssnId': GssnId,
        'Description': Description,
        'Street': Street,
        'City': City,
        'Postcode': Postcode,
        'GoogleMapPostcode': GoogleMapPostcode,
        'Phone': Phone,
        'Fax': Fax,
        'Email': Email,
        'Website': Website,
        'RetailerGroupId': RetailerGroupId,
        'RetailerGroupName': RetailerGroupName,
        'IsOnline': IsOnline,
        'IsNewCarRetailer': IsNewCarRetailer,
        'IsUsedCarRetailer': IsUsedCarRetailer,
        'IsCentralRetailer': IsCentralRetailer,
        'ChatEnabled': ChatEnabled,
        'TradeInEnabled': TradeInEnabled,
        'smart': smart,
        'DisplayPhoneNumberNew': DisplayPhoneNumberNew,
        'DisplayPhoneNumberUsed': DisplayPhoneNumberUsed,
        'Latitude': Latitude,
        'Longitude': Longitude,
        'smartDescription': smartDescription,
        'smartWebsite': smartWebsite,
        'smartPhone': smartPhone,
        'LegacyId': LegacyId,
        'Agent': Agent,
        'MarketAreaId': MarketAreaId,
        'DigitalLoungeParentGssnId': DigitalLoungeParentGssnId,
        'SendLeadsToDigitalLoungeParent': SendLeadsToDigitalLoungeParent,
        'OpeningTimes': JsonConverters.toJson(OpeningTimes,'RetailerOpeningTimes',context!)
    };

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

class OnlineShowroomVehicle implements IConvertible
{
    String? Vin;
    String? VehicleClass;
    String? TransmissionType;
    String? FuelType;
    String? ImageUrl;
    String? Colour;
    String? Description;
    String? BodyStyle;
    String? UpholsteryType;
    Retailer? Retailer;
    double? OTR;
    double? ActualPrice;
    double? TotalOfferValue;
    double? NetPrice;
    String? VehicleType;
    String? OfferExpiryDate;

    OnlineShowroomVehicle({this.Vin,this.VehicleClass,this.TransmissionType,this.FuelType,this.ImageUrl,this.Colour,this.Description,this.BodyStyle,this.UpholsteryType,this.Retailer,this.OTR,this.ActualPrice,this.TotalOfferValue,this.NetPrice,this.VehicleType,this.OfferExpiryDate});
    OnlineShowroomVehicle.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        Vin = json['Vin'];
        VehicleClass = json['VehicleClass'];
        TransmissionType = json['TransmissionType'];
        FuelType = json['FuelType'];
        ImageUrl = json['ImageUrl'];
        Colour = json['Colour'];
        Description = json['Description'];
        BodyStyle = json['BodyStyle'];
        UpholsteryType = json['UpholsteryType'];
        Retailer = JsonConverters.fromJson(json['Retailer'],'Retailer',context!);
        OTR = JsonConverters.toDouble(json['OTR']);
        ActualPrice = JsonConverters.toDouble(json['ActualPrice']);
        TotalOfferValue = JsonConverters.toDouble(json['TotalOfferValue']);
        NetPrice = JsonConverters.toDouble(json['NetPrice']);
        VehicleType = json['VehicleType'];
        OfferExpiryDate = json['OfferExpiryDate'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'Vin': Vin,
        'VehicleClass': VehicleClass,
        'TransmissionType': TransmissionType,
        'FuelType': FuelType,
        'ImageUrl': ImageUrl,
        'Colour': Colour,
        'Description': Description,
        'BodyStyle': BodyStyle,
        'UpholsteryType': UpholsteryType,
        'Retailer': JsonConverters.toJson(Retailer,'Retailer',context!),
        'OTR': OTR,
        'ActualPrice': ActualPrice,
        'TotalOfferValue': TotalOfferValue,
        'NetPrice': NetPrice,
        'VehicleType': VehicleType,
        'OfferExpiryDate': OfferExpiryDate
    };

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

class PaymentDetail implements IConvertible
{
    String? PaymentType;
    String? PaymentLink;

    PaymentDetail({this.PaymentType,this.PaymentLink});
    PaymentDetail.fromJson(Map<String, dynamic> json) { fromMap(json); }

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

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

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

class OnlineShowroomOrder implements IConvertible
{
    String? Guid;
    String? Reference;
    List<OnlineShowroomStatus>? Status = [];
    OnlineShowroomVehicle? Vehicle;
    String? ClosedDate;
    String? CustomerId;
    String? HandoverDate;
    String? ClosedReason;
    String? OrderDate;
    List<PaymentDetail>? PaymentLinks = [];

    OnlineShowroomOrder({this.Guid,this.Reference,this.Status,this.Vehicle,this.ClosedDate,this.CustomerId,this.HandoverDate,this.ClosedReason,this.OrderDate,this.PaymentLinks});
    OnlineShowroomOrder.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        Guid = json['Guid'];
        Reference = json['Reference'];
        Status = JsonConverters.fromJson(json['Status'],'List<OnlineShowroomStatus>',context!);
        Vehicle = JsonConverters.fromJson(json['Vehicle'],'OnlineShowroomVehicle',context!);
        ClosedDate = json['ClosedDate'];
        CustomerId = json['CustomerId'];
        HandoverDate = json['HandoverDate'];
        ClosedReason = json['ClosedReason'];
        OrderDate = json['OrderDate'];
        PaymentLinks = JsonConverters.fromJson(json['PaymentLinks'],'List<PaymentDetail>',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'Guid': Guid,
        'Reference': Reference,
        'Status': JsonConverters.toJson(Status,'List<OnlineShowroomStatus>',context!),
        'Vehicle': JsonConverters.toJson(Vehicle,'OnlineShowroomVehicle',context!),
        'ClosedDate': ClosedDate,
        'CustomerId': CustomerId,
        'HandoverDate': HandoverDate,
        'ClosedReason': ClosedReason,
        'OrderDate': OrderDate,
        'PaymentLinks': JsonConverters.toJson(PaymentLinks,'List<PaymentDetail>',context!)
    };

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

class GetOrderCustomerResponse implements IConvertible
{
    List<Order>? Orders = [];
    List<OnlineShowroomOrder>? Completed = [];
    List<OnlineShowroomOrder>? Cancelled = [];
    List<OnlineShowroomOrder>? InProgress = [];
    List<OnlineShowroomOrder>? Archived = [];

    GetOrderCustomerResponse({this.Orders,this.Completed,this.Cancelled,this.InProgress,this.Archived});
    GetOrderCustomerResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        Orders = JsonConverters.fromJson(json['Orders'],'List<Order>',context!);
        Completed = JsonConverters.fromJson(json['Completed'],'List<OnlineShowroomOrder>',context!);
        Cancelled = JsonConverters.fromJson(json['Cancelled'],'List<OnlineShowroomOrder>',context!);
        InProgress = JsonConverters.fromJson(json['InProgress'],'List<OnlineShowroomOrder>',context!);
        Archived = JsonConverters.fromJson(json['Archived'],'List<OnlineShowroomOrder>',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'Orders': JsonConverters.toJson(Orders,'List<Order>',context!),
        'Completed': JsonConverters.toJson(Completed,'List<OnlineShowroomOrder>',context!),
        'Cancelled': JsonConverters.toJson(Cancelled,'List<OnlineShowroomOrder>',context!),
        'InProgress': JsonConverters.toJson(InProgress,'List<OnlineShowroomOrder>',context!),
        'Archived': JsonConverters.toJson(Archived,'List<OnlineShowroomOrder>',context!)
    };

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

class GetOrderCustomerRequest implements IGet, IConvertible
{
    String? CustomerId;

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

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

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

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

TypeContext _ctx = TypeContext(library: 'prod_api_agency_orch_mb_dhc.rapp_customers.co.uk', types: <String, TypeInfo> {
    'Order': TypeInfo(TypeOf.Class, create:() => Order()),
    'OrderStatus': TypeInfo(TypeOf.Class, create:() => OrderStatus()),
    'OnlineShowroomStatus': TypeInfo(TypeOf.Class, create:() => OnlineShowroomStatus()),
    'List<OrderStatus>': TypeInfo(TypeOf.Class, create:() => <OrderStatus>[]),
    'RetailerOpeningTime': TypeInfo(TypeOf.Class, create:() => RetailerOpeningTime()),
    'RetailerOpeningTimes': TypeInfo(TypeOf.Class, create:() => RetailerOpeningTimes()),
    'List<RetailerOpeningTime>': TypeInfo(TypeOf.Class, create:() => <RetailerOpeningTime>[]),
    'Retailer': TypeInfo(TypeOf.Class, create:() => Retailer()),
    'OnlineShowroomVehicle': TypeInfo(TypeOf.Class, create:() => OnlineShowroomVehicle()),
    'PaymentDetail': TypeInfo(TypeOf.Class, create:() => PaymentDetail()),
    'OnlineShowroomOrder': TypeInfo(TypeOf.Class, create:() => OnlineShowroomOrder()),
    'List<OnlineShowroomStatus>': TypeInfo(TypeOf.Class, create:() => <OnlineShowroomStatus>[]),
    'List<PaymentDetail>': TypeInfo(TypeOf.Class, create:() => <PaymentDetail>[]),
    'GetOrderCustomerResponse': TypeInfo(TypeOf.Class, create:() => GetOrderCustomerResponse()),
    'List<Order>': TypeInfo(TypeOf.Class, create:() => <Order>[]),
    'List<OnlineShowroomOrder>': TypeInfo(TypeOf.Class, create:() => <OnlineShowroomOrder>[]),
    'GetOrderCustomerRequest': TypeInfo(TypeOf.Class, create:() => GetOrderCustomerRequest()),
});

Dart GetOrderCustomerRequest 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/order/customer/{CustomerId} HTTP/1.1 
Host: prod-api-agency-orch-mb-dhc.rapp-customers.co.uk 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Orders":[{"Guid":"00000000000000000000000000000000","Reference":"String","Status":0,"CustomerId":"String","MulesoftReference":"String","GasId":"String","OrderDate":"String","OfferSnapShot":"String"}],"Completed":[{"Guid":"00000000000000000000000000000000","Reference":"String","Status":[{"Id":0,"Description":"String","Slug":"String","Current":false,"Completed":false,"OrderStatuses":[{"Id":0,"Description":"String"}]}],"Vehicle":{"Vin":"String","VehicleClass":"String","TransmissionType":"String","FuelType":"String","ImageUrl":"String","Colour":"String","Description":"String","BodyStyle":"String","UpholsteryType":"String","Retailer":{"Id":0,"GssnId":"String","Description":"String","Street":"String","City":"String","Postcode":"String","GoogleMapPostcode":"String","Phone":"String","Fax":"String","Email":"String","Website":"String","RetailerGroupId":"String","RetailerGroupName":"String","IsOnline":false,"IsNewCarRetailer":false,"IsUsedCarRetailer":false,"IsCentralRetailer":false,"ChatEnabled":false,"TradeInEnabled":false,"smart":false,"DisplayPhoneNumberNew":"String","DisplayPhoneNumberUsed":"String","Latitude":0,"Longitude":0,"smartDescription":"String","smartWebsite":"String","smartPhone":"String","LegacyId":"String","Agent":false,"MarketAreaId":0,"DigitalLoungeParentGssnId":"String","SendLeadsToDigitalLoungeParent":false,"OpeningTimes":{"New":[{"Day":"String","OpenFrom":"String","OpenTo":"String","Special":"String"}],"Used":[{"Day":"String","OpenFrom":"String","OpenTo":"String","Special":"String"}]}},"OTR":0,"ActualPrice":0,"TotalOfferValue":0,"NetPrice":0,"VehicleType":"String","OfferExpiryDate":"String"},"ClosedDate":"String","CustomerId":"String","HandoverDate":"String","ClosedReason":"String","OrderDate":"String","PaymentLinks":[{"PaymentType":"String","PaymentLink":"String"}]}],"Cancelled":[{"Guid":"00000000000000000000000000000000","Reference":"String","Status":[{"Id":0,"Description":"String","Slug":"String","Current":false,"Completed":false,"OrderStatuses":[{"Id":0,"Description":"String"}]}],"Vehicle":{"Vin":"String","VehicleClass":"String","TransmissionType":"String","FuelType":"String","ImageUrl":"String","Colour":"String","Description":"String","BodyStyle":"String","UpholsteryType":"String","Retailer":{"Id":0,"GssnId":"String","Description":"String","Street":"String","City":"String","Postcode":"String","GoogleMapPostcode":"String","Phone":"String","Fax":"String","Email":"String","Website":"String","RetailerGroupId":"String","RetailerGroupName":"String","IsOnline":false,"IsNewCarRetailer":false,"IsUsedCarRetailer":false,"IsCentralRetailer":false,"ChatEnabled":false,"TradeInEnabled":false,"smart":false,"DisplayPhoneNumberNew":"String","DisplayPhoneNumberUsed":"String","Latitude":0,"Longitude":0,"smartDescription":"String","smartWebsite":"String","smartPhone":"String","LegacyId":"String","Agent":false,"MarketAreaId":0,"DigitalLoungeParentGssnId":"String","SendLeadsToDigitalLoungeParent":false,"OpeningTimes":{"New":[{"Day":"String","OpenFrom":"String","OpenTo":"String","Special":"String"}],"Used":[{"Day":"String","OpenFrom":"String","OpenTo":"String","Special":"String"}]}},"OTR":0,"ActualPrice":0,"TotalOfferValue":0,"NetPrice":0,"VehicleType":"String","OfferExpiryDate":"String"},"ClosedDate":"String","CustomerId":"String","HandoverDate":"String","ClosedReason":"String","OrderDate":"String","PaymentLinks":[{"PaymentType":"String","PaymentLink":"String"}]}],"InProgress":[{"Guid":"00000000000000000000000000000000","Reference":"String","Status":[{"Id":0,"Description":"String","Slug":"String","Current":false,"Completed":false,"OrderStatuses":[{"Id":0,"Description":"String"}]}],"Vehicle":{"Vin":"String","VehicleClass":"String","TransmissionType":"String","FuelType":"String","ImageUrl":"String","Colour":"String","Description":"String","BodyStyle":"String","UpholsteryType":"String","Retailer":{"Id":0,"GssnId":"String","Description":"String","Street":"String","City":"String","Postcode":"String","GoogleMapPostcode":"String","Phone":"String","Fax":"String","Email":"String","Website":"String","RetailerGroupId":"String","RetailerGroupName":"String","IsOnline":false,"IsNewCarRetailer":false,"IsUsedCarRetailer":false,"IsCentralRetailer":false,"ChatEnabled":false,"TradeInEnabled":false,"smart":false,"DisplayPhoneNumberNew":"String","DisplayPhoneNumberUsed":"String","Latitude":0,"Longitude":0,"smartDescription":"String","smartWebsite":"String","smartPhone":"String","LegacyId":"String","Agent":false,"MarketAreaId":0,"DigitalLoungeParentGssnId":"String","SendLeadsToDigitalLoungeParent":false,"OpeningTimes":{"New":[{"Day":"String","OpenFrom":"String","OpenTo":"String","Special":"String"}],"Used":[{"Day":"String","OpenFrom":"String","OpenTo":"String","Special":"String"}]}},"OTR":0,"ActualPrice":0,"TotalOfferValue":0,"NetPrice":0,"VehicleType":"String","OfferExpiryDate":"String"},"ClosedDate":"String","CustomerId":"String","HandoverDate":"String","ClosedReason":"String","OrderDate":"String","PaymentLinks":[{"PaymentType":"String","PaymentLink":"String"}]}],"Archived":[{"Guid":"00000000000000000000000000000000","Reference":"String","Status":[{"Id":0,"Description":"String","Slug":"String","Current":false,"Completed":false,"OrderStatuses":[{"Id":0,"Description":"String"}]}],"Vehicle":{"Vin":"String","VehicleClass":"String","TransmissionType":"String","FuelType":"String","ImageUrl":"String","Colour":"String","Description":"String","BodyStyle":"String","UpholsteryType":"String","Retailer":{"Id":0,"GssnId":"String","Description":"String","Street":"String","City":"String","Postcode":"String","GoogleMapPostcode":"String","Phone":"String","Fax":"String","Email":"String","Website":"String","RetailerGroupId":"String","RetailerGroupName":"String","IsOnline":false,"IsNewCarRetailer":false,"IsUsedCarRetailer":false,"IsCentralRetailer":false,"ChatEnabled":false,"TradeInEnabled":false,"smart":false,"DisplayPhoneNumberNew":"String","DisplayPhoneNumberUsed":"String","Latitude":0,"Longitude":0,"smartDescription":"String","smartWebsite":"String","smartPhone":"String","LegacyId":"String","Agent":false,"MarketAreaId":0,"DigitalLoungeParentGssnId":"String","SendLeadsToDigitalLoungeParent":false,"OpeningTimes":{"New":[{"Day":"String","OpenFrom":"String","OpenTo":"String","Special":"String"}],"Used":[{"Day":"String","OpenFrom":"String","OpenTo":"String","Special":"String"}]}},"OTR":0,"ActualPrice":0,"TotalOfferValue":0,"NetPrice":0,"VehicleType":"String","OfferExpiryDate":"String"},"ClosedDate":"String","CustomerId":"String","HandoverDate":"String","ClosedReason":"String","OrderDate":"String","PaymentLinks":[{"PaymentType":"String","PaymentLink":"String"}]}]}