| Requires any of the roles: | Riskstore.Write, Riskstore.Admin |
| GET | /api/riskstore/eventset/ylt | Get Event Set YLT |
|---|
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 EventSetYltRequest implements IGet
{
public Long eventSetId = null;
public Integer metaRiskId = null;
public Long getEventSetId() { return eventSetId; }
public EventSetYltRequest setEventSetId(Long value) { this.eventSetId = value; return this; }
public Integer getMetaRiskId() { return metaRiskId; }
public EventSetYltRequest setMetaRiskId(Integer value) { this.metaRiskId = value; return this; }
}
}
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/riskstore/eventset/ylt HTTP/1.1 Host: riskstoreng-dev.nephila.com Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
[{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"__type":"ServiceStack.ResponseError, ServiceStack.Interfaces","errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}]