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}
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using CRM.AgencyPlatform.API.Internal;

namespace CRM.AgencyPlatform.API.Internal
{
    public partial class WebixGanttTask
    {
        public virtual string id { get; set; }
        public virtual string type { get; set; }
        public virtual string start_date { get; set; }
        public virtual string planned_start { get; set; }
        public virtual string end_date { get; set; }
        public virtual string planned_end { get; set; }
        public virtual string text { get; set; }
        public virtual int progress { get; set; }
        public virtual string parent { get; set; }
        public virtual int position { get; set; }
        public virtual int duration { get; set; }
        public virtual int? planned_duration { get; set; }
        public virtual string details { get; set; }
        public virtual bool open { get; set; }
        public virtual int opened { get; set; }
        public virtual int? job_type_id { get; set; }
        public virtual string job_type_name { get; set; }
        public virtual string created_by_id { get; set; }
    }

    public partial class WebixGanttTaskChangeRequest
        : WebixGanttTask
    {
    }

    public partial class WebixGanttTaskResponse
        : WebixGanttTask
    {
    }

}

C# WebixGanttTaskChangeRequest 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.

POST /v1/webix/gantt/tasks HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsonl
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"}
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"}