| GET,OPTIONS | /v1/webix/gantt/tasks | ||
|---|---|---|---|
| GET,OPTIONS | /v1/webix/gantt/tasks/{ProjectUID} |
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 WebixGanttTaskRequest
{
public virtual Guid ProjectUID { get; set; }
}
public partial class WebixGanttTaskResponse
: WebixGanttTask
{
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
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: text/csv
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"}