| 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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"Guids":["00000000000000000000000000000000"]}