Booster.Microservices

<back to all web services

GetSelloutAction

Requires Authentication
The following routes are available for this service:
GET/warranty/v1/GetSelloutAction/{cardId}
namespace Booster.Microservices.ServiceModel.Common

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

    [<AllowNullLiteral>]
    type BaseResponse() = 
        member val _xmlns:String = null with get,set
        member val _type:String = null with get,set
        member val _source:String = null with get,set
        member val _tstamp:String = null with get,set
        member val _user:String = null with get,set
        member val _env:String = null with get,set
        member val _uri:String = null with get,set
        member val _query:String = null with get,set

    [<AllowNullLiteral>]
    type GetSelloutActionResponse() = 
        inherit BaseResponse()
        member val canBeExtended:Boolean = new Boolean() with get,set
        member val canBeReturned:Boolean = new Boolean() with get,set
        member val canBeDeleted:Boolean = new Boolean() with get,set
        member val crmEnabled:Boolean = new Boolean() with get,set
        member val canBeRetriggered:Boolean = new Boolean() with get,set

    [<AllowNullLiteral>]
    type GetSelloutAction() = 
        inherit BaseRequest<GetSelloutActionResponse>()
        member val cardId:String = null with get,set

    [<AllowNullLiteral>]
    type BaseRequest<TResponse>() = 
        member val sid:String = null with get,set
        member val app:String = null with get,set
        member val _os:String = null with get,set
        member val _appVersion:String = null with get,set
        member val _searchMethod:String = null with get,set

F# GetSelloutAction 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.

GET /warranty/v1/GetSelloutAction/{cardId} HTTP/1.1 
Host: qp-microservices-booster.richemont.com 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"canBeExtended":false,"canBeReturned":false,"canBeDeleted":false,"crmEnabled":false,"canBeRetriggered":false,"_xmlns":"String","_type":"String","_source":"String","_tstamp":"String","_user":"String","_env":"String","_uri":"String","_query":"String"}