| GET | /warranty/v1/user/{username*} |
|---|
namespace Booster.Microservices.ServiceModel.Security
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type UserResponse() =
member val iss:String = null with get,set
member val aud:ResizeArray<String> = new ResizeArray<String>() with get,set
member val sub:String = null with get,set
member val email:String = null with get,set
member val azp:String = null with get,set
member val locale:ResizeArray<String> = new ResizeArray<String>() with get,set
member val exp:String = null with get,set
member val iat:String = null with get,set
member val time:String = null with get,set
[<AllowNullLiteral>]
type UserRequest() =
member val username:String = null with get,set
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.
GET /warranty/v1/user/{username*} HTTP/1.1
Host: qp-microservices-booster.richemont.com
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"iss":"String","aud":["String"],"sub":"String","email":"String","azp":"String","locale":["String"],"exp":"String","iat":"String","time":"String"}