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
"use strict";
export class WebixGanttTask {
    /** @param {{id?:string,type?:string,start_date?:string,planned_start?:string,end_date?:string,planned_end?:string,text?:string,progress?:number,parent?:string,position?:number,duration?:number,planned_duration?:number,details?:string,open?:boolean,opened?:number,job_type_id?:number,job_type_name?:string,created_by_id?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    id;
    /** @type {string} */
    type;
    /** @type {string} */
    start_date;
    /** @type {string} */
    planned_start;
    /** @type {string} */
    end_date;
    /** @type {string} */
    planned_end;
    /** @type {string} */
    text;
    /** @type {number} */
    progress;
    /** @type {string} */
    parent;
    /** @type {number} */
    position;
    /** @type {number} */
    duration;
    /** @type {?number} */
    planned_duration;
    /** @type {string} */
    details;
    /** @type {boolean} */
    open;
    /** @type {number} */
    opened;
    /** @type {?number} */
    job_type_id;
    /** @type {string} */
    job_type_name;
    /** @type {string} */
    created_by_id;
}
export class WebixGanttTaskResponse extends WebixGanttTask {
    /** @param {{id?:string,type?:string,start_date?:string,planned_start?:string,end_date?:string,planned_end?:string,text?:string,progress?:number,parent?:string,position?:number,duration?:number,planned_duration?:number,details?:string,open?:boolean,opened?:number,job_type_id?:number,job_type_name?:string,created_by_id?:string}} [init] */
    constructor(init) { super(init); Object.assign(this, init) }
}
export class WebixGanttTaskPositionRequest {
    /** @param {{Id?:string,Parent?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    Id;
    /** @type {string} */
    Parent;
}

JavaScript WebixGanttTaskPositionRequest 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/gantt/tasks/{id}/position HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

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