Mercedes.Agency.Orchestration.API

<back to all web services

VehicleSwapResolveAcknowledgeRequest

VehicleSwap
Requires Authentication
The following routes are available for this service:
POST/v1/vehicleswap/resolve/acknowledgeAcknowledge mismatched vehicle swapAcknowledge mismatched vehicle swap
namespace Mercedes.Agency.API.Shared.POCO.VehicleSwapResolve

open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type BaseVehicleSwapResolveRequest() = 
        member val VehicleSwapGuid:String = null with get,set

    [<AllowNullLiteral>]
    type VehicleSwapResolveAcknowledgeRequest() = 
        inherit BaseVehicleSwapResolveRequest()

    [<AllowNullLiteral>]
    type BaseVehicleSwapResolveResponse() = 
        member val Success:Boolean = new Boolean() with get,set

    [<AllowNullLiteral>]
    type VehicleSwapResolveAcknowledgeResponse() = 
        inherit BaseVehicleSwapResolveResponse()

F# VehicleSwapResolveAcknowledgeRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /v1/vehicleswap/resolve/acknowledge HTTP/1.1 
Host: prod-api-agency-orch-mb-dhc.rapp-customers.co.uk 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"VehicleSwapGuid":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"Success":false}