Mercedes.VehicleManagement.API

<back to all web services

SecuredOfflineVehicleRequest

Requires Authentication
The following routes are available for this service:
GET/v1/Vehicle/SecuredOfflineGet all secured vehicles which are offlineGet 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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"vehicles":[{"commissionNumber":"String","vin":"String","salesDescription":"String","model":"String","colour":"String","fuelType":"String","upholstery":"String","account":"String","gasId":"String","secureReason":"String","secureDate":"String","offlineDate":"String"}]}