GET | /api/v1/logs/users-login |
---|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using efun.id.api.ServiceModel;
namespace efun.id.api.ServiceModel
{
public partial class LogUserLoginRequest
: PagingRequest
{
}
public partial class PageResponse<Object>
: IResponseRequest
{
public PageResponse()
{
Data = new List<Object>{};
}
public virtual int Code { get; set; }
public virtual string Message { get; set; }
public virtual List<Object> Data { get; set; }
public virtual Pagination Pagination { get; set; }
}
public partial class Pagination
{
public virtual long Total { get; set; }
public virtual int Pages { get; set; }
public virtual long Offset { get; set; }
public virtual int Limit { get; set; }
public virtual int CurrentPage { get; set; }
}
public partial class PagingRequest
{
public virtual int Page { get; set; }
public virtual int Limit { get; set; }
public virtual int OffSet { get; set; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"code":0,"message":"String","data":[{}],"pagination":null}