| GET | /growplans_boxes |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
import com.google.gson.annotations.*;
import com.google.gson.reflect.*;
public class dtos
{
@DataContract
public static class GrowplansBoxesLookup
{
@DataMember(Order=2)
public Long growplansUsersId = null;
@DataMember(Order=3)
public String name = null;
@DataMember(Order=4)
public Integer xAxis = null;
@DataMember(Order=5)
public Integer yAxis = null;
@DataMember(Order=6)
public Long growplansOutcomesId = null;
@DataMember(Order=7)
public Integer months = null;
@DataMember(Order=8)
public Date startDate = null;
public Long getGrowplansUsersId() { return growplansUsersId; }
public GrowplansBoxesLookup setGrowplansUsersId(Long value) { this.growplansUsersId = value; return this; }
public String getName() { return name; }
public GrowplansBoxesLookup setName(String value) { this.name = value; return this; }
public Integer getXAxis() { return xAxis; }
public GrowplansBoxesLookup setXAxis(Integer value) { this.xAxis = value; return this; }
public Integer getYAxis() { return yAxis; }
public GrowplansBoxesLookup setYAxis(Integer value) { this.yAxis = value; return this; }
public Long getGrowplansOutcomesId() { return growplansOutcomesId; }
public GrowplansBoxesLookup setGrowplansOutcomesId(Long value) { this.growplansOutcomesId = value; return this; }
public Integer getMonths() { return months; }
public GrowplansBoxesLookup setMonths(Integer value) { this.months = value; return this; }
public Date getStartDate() { return startDate; }
public GrowplansBoxesLookup setStartDate(Date value) { this.startDate = value; return this; }
}
}
Java GrowplansBoxesLookup 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 /growplans_boxes HTTP/1.1 Host: sfgboxapi.dev.scadsoftware.com Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{Unable to show example output for type 'IEnumerable`1' using the custom 'other' filter}Cannot dynamically create an instance of type 'System.Collections.Generic.IEnumerable`1[sfgboxapi.ServiceModel.GrowplansBoxesLookupResponse]'. Reason: Cannot create an instance of an interface.