GET | /api/v1/logs/users-login |
---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports efun.id.api.ServiceModel
Namespace Global
Namespace efun.id.api.ServiceModel
Public Partial Class LogUserLoginRequest
Inherits PagingRequest
End Class
Public Partial Class PageResponse(Of Object)
Implements IResponseRequest
Public Sub New()
Data = New List(Of Object)
End Sub
Public Overridable Property Code As Integer
Public Overridable Property Message As String
Public Overridable Property Data As List(Of Object)
Public Overridable Property Pagination As Pagination
End Class
Public Partial Class Pagination
Public Overridable Property Total As Long
Public Overridable Property Pages As Integer
Public Overridable Property Offset As Long
Public Overridable Property Limit As Integer
Public Overridable Property CurrentPage As Integer
End Class
Public Partial Class PagingRequest
Public Overridable Property Page As Integer
Public Overridable Property Limit As Integer
Public Overridable Property OffSet As Integer
End Class
End Namespace
End Namespace
VB.NET LogUserLoginRequest DTOs
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 /api/v1/logs/users-login HTTP/1.1 Host: efun-id-api-sandbox.efun.vn Accept: text/jsonl
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {"code":0,"message":"String","data":[{}],"pagination":null}