| All Verbs | /rounds/results |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
import com.google.gson.annotations.*;
import com.google.gson.reflect.*;
public class dtos
{
public static class FindRoundResults
{
public String roundId = null;
public String filter = null;
public String getRoundId() { return roundId; }
public FindRoundResults setRoundId(String value) { this.roundId = value; return this; }
public String getFilter() { return filter; }
public FindRoundResults setFilter(String value) { this.filter = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /rounds/results HTTP/1.1
Host: grh1.api.bettor.webhop.biz
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
roundId: String,
filter: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
[
{
id: String,
sequence: String,
createdAt: 0001-01-01
}
]