POST | /v1/order/resolve/cancel | Cancel mismatched order |
---|
namespace Mercedes.Agency.API.Shared.POCO.OrderResolve
open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type BaseOrderResolveRequest() =
member val OrderGuid:String = null with get,set
[<AllowNullLiteral>]
type OrderResolveCancelRequest() =
inherit BaseOrderResolveRequest()
[<AllowNullLiteral>]
type BaseOrderResolveResponse() =
member val Success:Boolean = new Boolean() with get,set
[<AllowNullLiteral>]
type OrderResolveCancelResponse() =
inherit BaseOrderResolveResponse()
F# OrderResolveCancelRequest 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.
POST /v1/order/resolve/cancel HTTP/1.1
Host: prod-api-agency-orch-mb-dhc.rapp-customers.co.uk
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"OrderGuid":"String"}
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {"Success":false}