| GET | /warranty/v1/user/{username*} |
|---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Booster.Microservices.ServiceModel.Security
Namespace Global
Namespace Booster.Microservices.ServiceModel.Security
Public Partial Class UserRequest
Public Overridable Property username As String
End Class
Public Partial Class UserResponse
Public Sub New()
aud = New List(Of String)
locale = New List(Of String)
End Sub
Public Overridable Property iss As String
Public Overridable Property aud As List(Of String)
Public Overridable Property sub As String
Public Overridable Property email As String
Public Overridable Property azp As String
Public Overridable Property locale As List(Of String)
Public Overridable Property exp As String
Public Overridable Property iat As String
Public Overridable Property time As String
End Class
End Namespace
End Namespace
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"}