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}
namespace CRM.AgencyPlatform.API.Internal

open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type WebixGanttTask() = 
        member val id:String = null with get,set
        member val type:String = null with get,set
        member val start_date:String = null with get,set
        member val planned_start:String = null with get,set
        member val end_date:String = null with get,set
        member val planned_end:String = null with get,set
        member val text:String = null with get,set
        member val progress:Int32 = new Int32() with get,set
        member val parent:String = null with get,set
        member val position:Int32 = new Int32() with get,set
        member val duration:Int32 = new Int32() with get,set
        member val planned_duration:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val details:String = null with get,set
        member val open:Boolean = new Boolean() with get,set
        member val opened:Int32 = new Int32() with get,set
        member val job_type_id:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val job_type_name:String = null with get,set
        member val created_by_id:String = null with get,set

    [<AllowNullLiteral>]
    type WebixGanttTaskResponse() = 
        inherit WebixGanttTask()

    [<AllowNullLiteral>]
    type WebixGanttTaskChangeRequest() = 
        inherit WebixGanttTask()

F# WebixGanttTaskChangeRequest DTOs

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

HTTP + JSV

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/jsv
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
}
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
}