| POST | /v1/webix/gantt/tasks | ||
|---|---|---|---|
| DELETE,PUT,OPTIONS | /v1/webix/gantt/tasks/{id} |
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports CRM.AgencyPlatform.API.Internal
Namespace Global
Namespace CRM.AgencyPlatform.API.Internal
Public Partial Class WebixGanttTask
Public Overridable Property id As String
Public Overridable Property type As String
Public Overridable Property start_date As String
Public Overridable Property planned_start As String
Public Overridable Property end_date As String
Public Overridable Property planned_end As String
Public Overridable Property text As String
Public Overridable Property progress As Integer
Public Overridable Property parent As String
Public Overridable Property position As Integer
Public Overridable Property duration As Integer
Public Overridable Property planned_duration As Integer?
Public Overridable Property details As String
Public Overridable Property open As Boolean
Public Overridable Property opened As Integer
Public Overridable Property job_type_id As Integer?
Public Overridable Property job_type_name As String
Public Overridable Property created_by_id As String
End Class
Public Partial Class WebixGanttTaskChangeRequest
Inherits WebixGanttTask
End Class
Public Partial Class WebixGanttTaskResponse
Inherits WebixGanttTask
End Class
End Namespace
End Namespace
VB.NET WebixGanttTaskChangeRequest 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.
POST /v1/webix/gantt/tasks HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<WebixGanttTaskChangeRequest 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>
</WebixGanttTaskChangeRequest>
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>