Trendsic Platform Service

<back to all web services

WebixKanbanTaskUpdateRequest

The following routes are available for this service:
PUT,OPTIONS/v1/webix/kanban/tasks/{id}
"use strict";
export class WebixKanbanComment {
    /** @param {{id?:string,user_id?:number,date?:string,text?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    id;
    /** @type {?number} */
    user_id;
    /** @type {string} */
    date;
    /** @type {string} */
    text;
}
export class KanbanTaskAttachment {
    /** @param {{id?:string,link?:string,size?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    id;
    /** @type {string} */
    link;
    /** @type {number} */
    size;
}
export class WebixKanbanTask {
    /** @param {{id?:string,status?:string,user_id?:number,text?:string,color?:string,tags?:string[],comments?:WebixKanbanComment[],attachments?:KanbanTaskAttachment[],list?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    id;
    /** @type {string} */
    status;
    /** @type {number} */
    user_id;
    /** @type {string} */
    text;
    /** @type {string} */
    color;
    /** @type {string[]} */
    tags = [];
    /** @type {WebixKanbanComment[]} */
    comments = [];
    /** @type {KanbanTaskAttachment[]} */
    attachments = [];
    /** @type {number} */
    list;
}
export class WebixKanbanTaskResponse extends WebixKanbanTask {
    /** @param {{id?:string,status?:string,user_id?:number,text?:string,color?:string,tags?:string[],comments?:WebixKanbanComment[],attachments?:KanbanTaskAttachment[],list?:number}} [init] */
    constructor(init) { super(init); Object.assign(this, init) }
}
export class WebixKanbanTaskUpdateRequest extends WebixKanbanTask {
    /** @param {{id?:string,status?:string,user_id?:number,text?:string,color?:string,tags?:string[],comments?:WebixKanbanComment[],attachments?:KanbanTaskAttachment[],list?:number}} [init] */
    constructor(init) { super(init); Object.assign(this, init) }
}

JavaScript WebixKanbanTaskUpdateRequest DTOs

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

HTTP + CSV

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: text/csv
Content-Type: text/csv
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: text/csv
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}