Trendsic Platform Service

<back to all web services

WebixKanbanTaskUpdateRequest

The following routes are available for this service:
PUT,OPTIONS/v1/webix/kanban/tasks/{id}
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class WebixKanbanTaskUpdateRequest extends WebixKanbanTask
    {
        
    }

    public static class WebixKanbanTask
    {
        public UUID id = null;
        public String status = null;
        public Integer user_id = null;
        public String text = null;
        public String color = null;
        public ArrayList<String> tags = new ArrayList<String>();
        public ArrayList<WebixKanbanComment> comments = new ArrayList<WebixKanbanComment>();
        public ArrayList<KanbanTaskAttachment> attachments = new ArrayList<KanbanTaskAttachment>();
        public Integer list = null;
        
        public UUID getId() { return id; }
        public WebixKanbanTask setId(UUID value) { this.id = value; return this; }
        public String getStatus() { return status; }
        public WebixKanbanTask setStatus(String value) { this.status = value; return this; }
        public Integer getUserId() { return user_id; }
        public WebixKanbanTask setUserId(Integer value) { this.user_id = value; return this; }
        public String getText() { return text; }
        public WebixKanbanTask setText(String value) { this.text = value; return this; }
        public String getColor() { return color; }
        public WebixKanbanTask setColor(String value) { this.color = value; return this; }
        public ArrayList<String> getTags() { return tags; }
        public WebixKanbanTask setTags(ArrayList<String> value) { this.tags = value; return this; }
        public ArrayList<WebixKanbanComment> getComments() { return comments; }
        public WebixKanbanTask setComments(ArrayList<WebixKanbanComment> value) { this.comments = value; return this; }
        public ArrayList<KanbanTaskAttachment> getAttachments() { return attachments; }
        public WebixKanbanTask setAttachments(ArrayList<KanbanTaskAttachment> value) { this.attachments = value; return this; }
        public Integer getList() { return list; }
        public WebixKanbanTask setList(Integer value) { this.list = value; return this; }
    }

    public static class WebixKanbanComment
    {
        public String id = null;
        public Integer user_id = null;
        public String date = null;
        public String text = null;
        
        public String getId() { return id; }
        public WebixKanbanComment setId(String value) { this.id = value; return this; }
        public Integer getUserId() { return user_id; }
        public WebixKanbanComment setUserId(Integer value) { this.user_id = value; return this; }
        public String getDate() { return date; }
        public WebixKanbanComment setDate(String value) { this.date = value; return this; }
        public String getText() { return text; }
        public WebixKanbanComment setText(String value) { this.text = value; return this; }
    }

    public static class KanbanTaskAttachment
    {
        public UUID id = null;
        public String link = null;
        public Long size = null;
        
        public UUID getId() { return id; }
        public KanbanTaskAttachment setId(UUID value) { this.id = value; return this; }
        public String getLink() { return link; }
        public KanbanTaskAttachment setLink(String value) { this.link = value; return this; }
        public Long getSize() { return size; }
        public KanbanTaskAttachment setSize(Long value) { this.size = value; return this; }
    }

    public static class WebixKanbanTaskResponse extends WebixKanbanTask
    {
        
    }

}

Java WebixKanbanTaskUpdateRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

PUT /v1/webix/kanban/tasks/{id} HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"id":"00000000000000000000000000000000","status":"String","user_id":0,"text":"String","color":"String","tags":["String"],"comments":[{"id":"String","user_id":0,"date":"String","text":"String"}],"attachments":[{"id":"00000000000000000000000000000000","link":"String","size":0}],"list":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"id":"00000000000000000000000000000000","status":"String","user_id":0,"text":"String","color":"String","tags":["String"],"comments":[{"id":"String","user_id":0,"date":"String","text":"String"}],"attachments":[{"id":"00000000000000000000000000000000","link":"String","size":0}],"list":0}