| GET,OPTIONS | /v1/webix/gantt/tasks | ||
|---|---|---|---|
| GET,OPTIONS | /v1/webix/gantt/tasks/{ProjectUID} |
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class WebixGanttTaskRequest
{
public UUID ProjectUID = null;
public UUID getProjectUID() { return ProjectUID; }
public WebixGanttTaskRequest setProjectUID(UUID value) { this.ProjectUID = value; return this; }
}
public static class WebixGanttTaskResponse extends WebixGanttTask
{
}
public static class WebixGanttTask
{
public String id = null;
public String type = null;
public String start_date = null;
public String planned_start = null;
public String end_date = null;
public String planned_end = null;
public String text = null;
public Integer progress = null;
public String parent = null;
public Integer position = null;
public Integer duration = null;
public Integer planned_duration = null;
public String details = null;
public Boolean open = null;
public Integer opened = null;
public Integer job_type_id = null;
public String job_type_name = null;
public String created_by_id = null;
public String getId() { return id; }
public WebixGanttTask setId(String value) { this.id = value; return this; }
public String getType() { return type; }
public WebixGanttTask setType(String value) { this.type = value; return this; }
public String getStartDate() { return start_date; }
public WebixGanttTask setStartDate(String value) { this.start_date = value; return this; }
public String getPlannedStart() { return planned_start; }
public WebixGanttTask setPlannedStart(String value) { this.planned_start = value; return this; }
public String getEndDate() { return end_date; }
public WebixGanttTask setEndDate(String value) { this.end_date = value; return this; }
public String getPlannedEnd() { return planned_end; }
public WebixGanttTask setPlannedEnd(String value) { this.planned_end = value; return this; }
public String getText() { return text; }
public WebixGanttTask setText(String value) { this.text = value; return this; }
public Integer getProgress() { return progress; }
public WebixGanttTask setProgress(Integer value) { this.progress = value; return this; }
public String getParent() { return parent; }
public WebixGanttTask setParent(String value) { this.parent = value; return this; }
public Integer getPosition() { return position; }
public WebixGanttTask setPosition(Integer value) { this.position = value; return this; }
public Integer getDuration() { return duration; }
public WebixGanttTask setDuration(Integer value) { this.duration = value; return this; }
public Integer getPlannedDuration() { return planned_duration; }
public WebixGanttTask setPlannedDuration(Integer value) { this.planned_duration = value; return this; }
public String getDetails() { return details; }
public WebixGanttTask setDetails(String value) { this.details = value; return this; }
public Boolean isOpen() { return open; }
public WebixGanttTask setOpen(Boolean value) { this.open = value; return this; }
public Integer getOpened() { return opened; }
public WebixGanttTask setOpened(Integer value) { this.opened = value; return this; }
public Integer getJobTypeId() { return job_type_id; }
public WebixGanttTask setJobTypeId(Integer value) { this.job_type_id = value; return this; }
public String getJobTypeName() { return job_type_name; }
public WebixGanttTask setJobTypeName(String value) { this.job_type_name = value; return this; }
public String getCreatedById() { return created_by_id; }
public WebixGanttTask setCreatedById(String value) { this.created_by_id = value; return this; }
}
}
Java WebixGanttTaskRequest DTOs
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.
GET /v1/webix/gantt/tasks HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
id: String,
type: String,
start_date: String,
planned_start: String,
end_date: String,
planned_end: String,
text: String,
progress: 0,
parent: String,
position: 0,
duration: 0,
planned_duration: 0,
details: String,
open: False,
opened: 0,
job_type_id: 0,
job_type_name: String,
created_by_id: String
}