Trendsic Platform Service

<back to all web services

WebixGanttTaskRequest

Requires Authentication
The following routes are available for this service:
GET,OPTIONS/v1/webix/gantt/tasks
GET,OPTIONS/v1/webix/gantt/tasks/{ProjectUID}
"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 WebixGanttTaskRequest {
    /** @param {{ProjectUID?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    ProjectUID;
}

JavaScript WebixGanttTaskRequest DTOs

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

HTTP + XML

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

GET /v1/webix/gantt/tasks HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<WebixGanttTaskResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
  <created_by_id>String</created_by_id>
  <details>String</details>
  <duration>0</duration>
  <end_date>String</end_date>
  <id>String</id>
  <job_type_id>0</job_type_id>
  <job_type_name>String</job_type_name>
  <open>false</open>
  <opened>0</opened>
  <parent>String</parent>
  <planned_duration>0</planned_duration>
  <planned_end>String</planned_end>
  <planned_start>String</planned_start>
  <position>0</position>
  <progress>0</progress>
  <start_date>String</start_date>
  <text>String</text>
  <type>String</type>
</WebixGanttTaskResponse>