| Requires any of the roles: | Agent, Administrator |
| GET,OPTIONS | /v1/GiftCardGameLeaderboardDetails/{AgentId}/{EndDate}/{StartDate} |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class GiftCardGameLeaderboardDetailsRequest
{
public Integer AgentId = null;
public Date StartDate = null;
public Date EndDate = null;
public Integer getAgentId() { return AgentId; }
public GiftCardGameLeaderboardDetailsRequest setAgentId(Integer value) { this.AgentId = value; return this; }
public Date getStartDate() { return StartDate; }
public GiftCardGameLeaderboardDetailsRequest setStartDate(Date value) { this.StartDate = value; return this; }
public Date getEndDate() { return EndDate; }
public GiftCardGameLeaderboardDetailsRequest setEndDate(Date value) { this.EndDate = value; return this; }
}
public static class GiftCardGameLeaderboardDetailsResponse
{
public ResponseStatus ResponseStatus = null;
public ArrayList<GiftCardGameLeaderboardDetail> GiftCardGameLeaderboardDetails = new ArrayList<GiftCardGameLeaderboardDetail>();
public ResponseStatus getResponseStatus() { return ResponseStatus; }
public GiftCardGameLeaderboardDetailsResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
public ArrayList<GiftCardGameLeaderboardDetail> getGiftCardGameLeaderboardDetails() { return GiftCardGameLeaderboardDetails; }
public GiftCardGameLeaderboardDetailsResponse setGiftCardGameLeaderboardDetails(ArrayList<GiftCardGameLeaderboardDetail> value) { this.GiftCardGameLeaderboardDetails = value; return this; }
}
public static class GiftCardGameLeaderboardDetail
{
public String ContactFullName = null;
public String ActivityType = null;
public Integer Points = null;
public String getContactFullName() { return ContactFullName; }
public GiftCardGameLeaderboardDetail setContactFullName(String value) { this.ContactFullName = value; return this; }
public String getActivityType() { return ActivityType; }
public GiftCardGameLeaderboardDetail setActivityType(String value) { this.ActivityType = value; return this; }
public Integer getPoints() { return Points; }
public GiftCardGameLeaderboardDetail setPoints(Integer value) { this.Points = value; return this; }
}
}
Java GiftCardGameLeaderboardDetailsRequest 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 /v1/GiftCardGameLeaderboardDetails/{AgentId}/{EndDate}/{StartDate} HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"GiftCardGameLeaderboardDetails":[{"ContactFullName":"String","ActivityType":"String","Points":0}]}