| POST | /warranty/v1/GetBrandPrivacyPolicy |
|---|
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 GetBrandPrivacyPolicy() =
inherit BaseRequest<String>()
member val countryId:String = null with get,set
member val languageId:String = null with get,set
member val brandTrigram:String = null with get,set
member val posId:Nullable<Int32> = new Nullable<Int32>() 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
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /warranty/v1/GetBrandPrivacyPolicy HTTP/1.1
Host: qp-microservices-booster.richemont.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
countryId: String,
languageId: String,
brandTrigram: String,
posId: 0,
sid: String,
app: String,
_os: String,
_appVersion: String,
_searchMethod: String
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length (string)