| POST | /v1/webix/kanban/tasks | ||
|---|---|---|---|
| POST | /v1/webix/kanban/tasks/{ProjectUID} |
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 KanbanTaskAttachment
Public Overridable Property id As Guid
Public Overridable Property link As String
Public Overridable Property size As Long
End Class
Public Partial Class WebixKanbanComment
Public Overridable Property id As String
Public Overridable Property user_id As Integer?
Public Overridable Property date As String
Public Overridable Property text As String
End Class
Public Partial Class WebixKanbanTask
Public Overridable Property id As Guid
Public Overridable Property status As String
Public Overridable Property user_id As Integer
Public Overridable Property text As String
Public Overridable Property color As String
Public Overridable Property tags As List(Of String) = New List(Of String)
Public Overridable Property comments As List(Of WebixKanbanComment) = New List(Of WebixKanbanComment)
Public Overridable Property attachments As List(Of KanbanTaskAttachment) = New List(Of KanbanTaskAttachment)
Public Overridable Property list As Integer
End Class
Public Partial Class WebixKanbanTaskCreateRequest
Inherits WebixKanbanTask
Public Overridable Property ProjectUID As Guid
End Class
Public Partial Class WebixKanbanTaskResponse
Inherits WebixKanbanTask
End Class
End Namespace
End Namespace
VB.NET WebixKanbanTaskCreateRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v1/webix/kanban/tasks HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"ProjectUID":"00000000000000000000000000000000","id":"00000000000000000000000000000000","status":"String","user_id":0,"text":"String","color":"String","tags":["String"],"comments":[{"id":"String","user_id":0,"date":"String","text":"String"}],"attachments":[{"id":"00000000000000000000000000000000","link":"String","size":0}],"list":0}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"id":"00000000000000000000000000000000","status":"String","user_id":0,"text":"String","color":"String","tags":["String"],"comments":[{"id":"String","user_id":0,"date":"String","text":"String"}],"attachments":[{"id":"00000000000000000000000000000000","link":"String","size":0}],"list":0}