| GET | /v1/vehicleswap/recentlyupdated | Get Guids for recently audited vehicle swaps | Get Guids for recently audited vehicle swaps |
|---|
import 'package:servicestack/servicestack.dart';
class VehicleSwapRecentlyUpdatedResponse implements IConvertible
{
List<String>? Guids = [];
VehicleSwapRecentlyUpdatedResponse({this.Guids});
VehicleSwapRecentlyUpdatedResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Guids = JsonConverters.fromJson(json['Guids'],'List<String>',context!);
return this;
}
Map<String, dynamic> toJson() => {
'Guids': JsonConverters.toJson(Guids,'List<String>',context!)
};
getTypeName() => "VehicleSwapRecentlyUpdatedResponse";
TypeContext? context = _ctx;
}
class VehicleSwapRecentlyUpdatedRequest implements IGet, IConvertible
{
VehicleSwapRecentlyUpdatedRequest();
VehicleSwapRecentlyUpdatedRequest.fromJson(Map<String, dynamic> json) : super();
fromMap(Map<String, dynamic> json) {
return this;
}
Map<String, dynamic> toJson() => {};
getTypeName() => "VehicleSwapRecentlyUpdatedRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'prod_api_agency_orch_mb_dhc.rapp_customers.co.uk', types: <String, TypeInfo> {
'VehicleSwapRecentlyUpdatedResponse': TypeInfo(TypeOf.Class, create:() => VehicleSwapRecentlyUpdatedResponse()),
'VehicleSwapRecentlyUpdatedRequest': TypeInfo(TypeOf.Class, create:() => VehicleSwapRecentlyUpdatedRequest()),
});
Dart VehicleSwapRecentlyUpdatedRequest 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.
GET /v1/vehicleswap/recentlyupdated HTTP/1.1 Host: prod-api-agency-orch-mb-dhc.rapp-customers.co.uk Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<VehicleSwapRecentlyUpdatedResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mercedes.Agency.API.Shared.POCO.VehicleSwapResolve">
<Guids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>00000000-0000-0000-0000-000000000000</d2p1:guid>
</Guids>
</VehicleSwapRecentlyUpdatedResponse>