| POST | /v1/webix/gantt/tasks | ||
|---|---|---|---|
| DELETE,PUT,OPTIONS | /v1/webix/gantt/tasks/{id} |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| id | form | string | No | |
| type | form | string | No | |
| start_date | form | string | No | |
| planned_start | form | string | No | |
| end_date | form | string | No | |
| planned_end | form | string | No | |
| text | form | string | No | |
| progress | form | int | No | |
| parent | form | string | No | |
| position | form | int | No | |
| duration | form | int | No | |
| planned_duration | form | int? | No | |
| details | form | string | No | |
| open | form | bool | No | |
| opened | form | int | No | |
| job_type_id | form | int? | No | |
| job_type_name | form | string | No | |
| created_by_id | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
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/csv
Content-Type: text/csv
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/csv
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"}