| PUT,OPTIONS | /v1/webix/gantt/tasks/{id}/position |
|---|
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 WebixGanttTaskPositionRequest() =
member val Id:String = null with get,set
member val Parent:String = null with get,set
F# WebixGanttTaskPositionRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
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/xml
Content-Type: application/xml
Content-Length: length
<WebixGanttTaskPositionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
<Id>String</Id>
<Parent>String</Parent>
</WebixGanttTaskPositionRequest>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <WebixGanttTaskResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal"> <created_by_id>String</created_by_id> <details>String</details> <duration>0</duration> <end_date>String</end_date> <id>String</id> <job_type_id>0</job_type_id> <job_type_name>String</job_type_name> <open>false</open> <opened>0</opened> <parent>String</parent> <planned_duration>0</planned_duration> <planned_end>String</planned_end> <planned_start>String</planned_start> <position>0</position> <progress>0</progress> <start_date>String</start_date> <text>String</text> <type>String</type> </WebixGanttTaskResponse>