| GET,OPTIONS | /v1/webix/gantt/resources |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class WebixGanttResourceRequest
{
}
public static class WebixGanttResourceResponse extends WebixGanttResource
{
}
public static class WebixGanttResource
{
public String id = null;
public String name = null;
public String category_id = null;
public String avatar = null;
public String unit = null;
public String getId() { return id; }
public WebixGanttResource setId(String value) { this.id = value; return this; }
public String getName() { return name; }
public WebixGanttResource setName(String value) { this.name = value; return this; }
public String getCategoryId() { return category_id; }
public WebixGanttResource setCategoryId(String value) { this.category_id = value; return this; }
public String getAvatar() { return avatar; }
public WebixGanttResource setAvatar(String value) { this.avatar = value; return this; }
public String getUnit() { return unit; }
public WebixGanttResource setUnit(String value) { this.unit = value; return this; }
}
}
Java WebixGanttResourceRequest 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/webix/gantt/resources HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"id":"String","name":"String","category_id":"String","avatar":"String","unit":"String"}