SpyREST

Supported by Mashape

Home » app.liquidplanner.com Versions » Default Resources » Task » POST /api/workspaces/{:workspace-id}/tasks

POST /api/workspaces/{:workspace-id}/tasks

Description

Response Fields

Name Type Description
activity_id Integer
work Integer
alerts Array
project_id
client_id
client_name
created_at String (Time ISO8601)
created_by Integer
done_on
started_on
delay_until
parent_delay_until
package_delay_until
description String
earliest_finish
earliest_start
expected_finish
expected_start
p98_finish
global_priority Array
global_priority[] Integer
global_package_priority
has_note Boolean
high_effort_remaining Integer
is_done Boolean
is_on_hold Boolean
effective_is_on_hold Boolean
is_packaged_version Boolean
is_estimated Boolean
is_shared Boolean
latest_finish
low_effort_remaining Integer
manual_alert String
max_effort
name String
assignments Array
assignments[].person_id Integer
assignments[].team_id
assignments[].low_effort_remaining Integer
assignments[].high_effort_remaining Integer
assignments[].treeitem_id Integer
assignments[].space_id Integer
assignments[].activity_id Integer
assignments[].is_done Boolean
assignments[].daily_limit
assignments[].position Integer
assignments[].hours_logged Integer
assignments[].expected_finish
assignments[].expected_start
assignments[].can_destroy Boolean
assignments[].type String
assignments[].id Integer
parent_id Integer
promise_by
parent_promise_by
package_promise_by
external_reference
package_id
parent_ids Array
parent_ids[] Integer
parent_crumbs Array
parent_crumbs[] String
package_ids Array
package_crumbs Array
updated_at String (Time ISO8601)
updated_by Integer
work_in_order Boolean
type String
id Integer
Write
Preview

Examples

allows the user to create a...

allows the user to create a task

Recorded at

2015-05-14 18:21:19 UTC

Try with cURL

Request URL

Requires Authorization
POST /api/workspaces/143500/tasks      

Request Headers

content-length: 33
authorization: FILTERED
content-type: application/json
user-agent: curl/7.37.1
      

Request Body

{"task":{"name":"A sample task"}}
      

Response Headers

transfer-encoding: chunked
connection: close
content-length: 1433
x-xss-protection: 1; mode=block
x-request-id: d0da2c1e-fe57-4ce1-9a79-00561e0bf8a5
x-lp-user: 552590
x-lp-space: 143500
x-lp-controller: Api::Tasks
x-lp-action: create
x-frame-options: SAMEORIGIN, SAMEORIGIN
x-forwarded-proto: https
x-content-type-options: nosniff
x-api-version: 3.0.0
vary: X-API-Version
strict-transport-security: max-age=15768000
status: 201 Created
server: ECD (pae/370C)
location: https://app.liquidplanner.com/api/workspaces/143500/tasks/22544452
etag: W/"515b82ed74b787f134032264f345b330"
date: Thu, 14 May 2015 18:21:20 GMT
content-type: application/json; charset=utf-8
cache-control: max-age=0, private, must-revalidate
      

Response Body

Shortened for readability

{
  "activity_id": 200404,
  "work": 0,
  "alerts": [

  ],
  "project_id": null,
  "client_id": null,
  "client_name": null,
  "created_at": "2015-05-14T18:21:20+00:00",
  "created_by": 552590,
  "custom_field_values": {
  },
  "done_on": null,
  "started_on": null,
  "delay_until": null,
  "parent_delay_until": null,
  "package_delay_until": null,
  "description": "",
  "earliest_finish": null,
  "earliest_start": null,
  "expected_finish": null,
  "expected_start": null,
  "p98_finish": null,
  "global_priority": [
    1,
    1
  ],
  "global_package_priority": null,
  "has_note": false,
  "high_effort_remaining": 0,
  "is_done": false,
  "is_on_hold": false,
  "effective_is_on_hold": false,
  "is_packaged_version": false,
  "is_estimated": false,
  "is_shared": false,
  "latest_finish": null,
  "low_effort_remaining": 0,
  "manual_alert": "",
  "max_effort": null,
  "name": "A sample task",
  "assignments": [
    {
      "person_id": 552590,
      "team_id": null,
      "low_effort_remaining": 0,
      "high_effort_remaining": 0,
      "treeitem_id": 22544452,
      "space_id": 143500,
      "activity_id": 200404,
      "is_done": false,
      "daily_limit": null,
      "position": 1,
      "hours_logged": 0,
      "expected_finish": null,
      "expected_start": null,
      "can_destroy": false,
      "type": "Assignment",
      "id": 15436511
    }
  ],
  "parent_id": 22473746,
  "promise_by": null,
  "parent_promise_by": null,
  "package_promise_by": null,
  "external_reference": null,
  "package_id": null,
  "parent_ids": [
    22473745,
    22473746
  ],
  "parent_crumbs": [
    "INBOX"
  ],
  "package_ids": [

  ],
  "package_crumbs": [

  ],
  "updated_at": "2015-05-14T18:21:20+00:00",
  "updated_by": 552590,
  "work_in_order": false,
  "type": "Task",
  "id": 22544452
}