Trendsic Platform Service

<back to all web services

WebixGanttTaskPositionRequest

Requires Authentication
The following routes are available for this service:
PUT,OPTIONS/v1/webix/gantt/tasks/{id}/position
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
import com.google.gson.annotations.*
import com.google.gson.reflect.*


open class WebixGanttTaskPositionRequest
{
    open var Id:String? = null
    open var Parent:String? = null
}

open class WebixGanttTaskResponse : WebixGanttTask()
{
}

open class WebixGanttTask
{
    open var id:String? = null
    @SerializedName("type") open var Type:String? = null
    open var start_date:String? = null
    open var planned_start:String? = null
    open var end_date:String? = null
    open var planned_end:String? = null
    open var text:String? = null
    open var progress:Int? = null
    open var parent:String? = null
    open var position:Int? = null
    open var duration:Int? = null
    open var planned_duration:Int? = null
    open var details:String? = null
    @SerializedName("open") open var Open:Boolean? = null
    open var opened:Int? = null
    open var job_type_id:Int? = null
    open var job_type_name:String? = null
    open var created_by_id:String? = null
}

Kotlin WebixGanttTaskPositionRequest DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: application/json
Content-Type: application/json
Content-Length: length

{"Id":"String","Parent":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
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"}