Trendsic Platform Service

<back to all web services

WebixGanttTaskPositionRequest

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

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 WebixGanttTaskPositionRequest
{
    public Id: string;
    public Parent: string;

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

TypeScript WebixGanttTaskPositionRequest DTOs

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

HTTP + OTHER

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

PUT /v1/webix/gantt/tasks/{id}/position HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"Id":"String","Parent":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
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"}