| GET | /warranty/v1/user/{username*} |
|---|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Booster.Microservices.ServiceModel.Security;
namespace Booster.Microservices.ServiceModel.Security
{
public partial class UserRequest
{
public virtual string username { get; set; }
}
public partial class UserResponse
{
public UserResponse()
{
aud = new List<string>{};
locale = new List<string>{};
}
public virtual string iss { get; set; }
public virtual List<string> aud { get; set; }
public virtual string sub { get; set; }
public virtual string email { get; set; }
public virtual string azp { get; set; }
public virtual List<string> locale { get; set; }
public virtual string exp { get; set; }
public virtual string iat { get; set; }
public virtual string time { 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"}