GET | /v1/vehicle/MotabilityVehicles/csv | Get motability eligible vehicles as a CSV file |
---|
import 'package:servicestack/servicestack.dart';
class GetMotabilityVehiclesCsvRequest implements IConvertible
{
GetMotabilityVehiclesCsvRequest();
GetMotabilityVehiclesCsvRequest.fromJson(Map<String, dynamic> json) : super();
fromMap(Map<String, dynamic> json) {
return this;
}
Map<String, dynamic> toJson() => {};
getTypeName() => "GetMotabilityVehiclesCsvRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'prod_api_agency_orch_mb_dhc.rapp_customers.co.uk', types: <String, TypeInfo> {
'GetMotabilityVehiclesCsvRequest': TypeInfo(TypeOf.Class, create:() => GetMotabilityVehiclesCsvRequest()),
});
Dart GetMotabilityVehiclesCsvRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/vehicle/MotabilityVehicles/csv HTTP/1.1 Host: prod-api-agency-orch-mb-dhc.rapp-customers.co.uk Accept: text/jsonl