GET | /v1/Vehicle/SecuredOffline | Get all secured vehicles which are offline | Get audit of all secured vehicles which are currently offline, including the user who secured it, the date and the reason. |
---|
namespace Mercedes.OS.Vehicle.Shared.POCO
open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type SecuredOfflineVehicle() =
member val CommissionNumber:String = null with get,set
member val Vin:String = null with get,set
member val SalesDescription:String = null with get,set
member val Model:String = null with get,set
member val Colour:String = null with get,set
member val FuelType:String = null with get,set
member val Upholstery:String = null with get,set
member val Account:String = null with get,set
member val GasId:String = null with get,set
member val SecureReason:String = null with get,set
member val SecureDate:String = null with get,set
member val OfflineDate:String = null with get,set
[<AllowNullLiteral>]
type SecuredOfflineVehicleResponse() =
member val Vehicles:ResizeArray<SecuredOfflineVehicle> = null with get,set
[<AllowNullLiteral>]
type SecuredOfflineVehicleRequest() =
class end
F# SecuredOfflineVehicleRequest 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/SecuredOffline HTTP/1.1 Host: uat-api-vehicle-mgt-mb-dhc.rapp-customers.co.uk Accept: text/jsonl
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {Unable to show example output for type 'SecuredOfflineVehicleResponse' using the custom 'other' filter}Cannot dynamically create an instance of type 'Mercedes.VehicleManagement.API.Shared.Clients.Vehicle.SecuredOfflineVehicleResponse'. Reason: No parameterless constructor defined.