Trendsic Platform Service

<back to all web services

WebixGanttTaskChangeRequest

Requires Authentication
The following routes are available for this service:
POST/v1/webix/gantt/tasks
DELETE,PUT,OPTIONS/v1/webix/gantt/tasks/{id}

export class WebixGanttTask
{
    public id: string;
    public type: string;
    public start_date: string;
    public planned_start: string;
    public end_date: string;
    public planned_end: string;
    public text: string;
    public progress: number;
    public parent: string;
    public position: number;
    public duration: number;
    public planned_duration?: number;
    public details: string;
    public open: boolean;
    public opened: number;
    public job_type_id?: number;
    public job_type_name: string;
    public created_by_id: string;

    public constructor(init?: Partial<WebixGanttTask>) { (Object as any).assign(this, init); }
}

export class WebixGanttTaskResponse extends WebixGanttTask
{

    public constructor(init?: Partial<WebixGanttTaskResponse>) { super(init); (Object as any).assign(this, init); }
}

export class WebixGanttTaskChangeRequest extends WebixGanttTask
{

    public constructor(init?: Partial<WebixGanttTaskChangeRequest>) { super(init); (Object as any).assign(this, init); }
}

TypeScript WebixGanttTaskChangeRequest 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.

POST /v1/webix/gantt/tasks HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: application/json
Content-Type: application/json
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"}
HTTP/1.1 200 OK
Content-Type: application/json
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"}