| PUT,OPTIONS | /v1/webix/gantt/tasks/{id}/position |
|---|
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 WebixGanttTaskPositionRequest
{
public virtual string Id { get; set; }
public virtual string Parent { get; set; }
}
public partial class WebixGanttTaskResponse
: WebixGanttTask
{
}
}
C# WebixGanttTaskPositionRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
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/jsv
Content-Type: text/jsv
Content-Length: length
{
Id: String,
Parent: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
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
}