Create Task

POST /api/v1.0/tasks

This endpoint creates the task for the team member.

application/json

Body Required

Responses

  • 201

    The resource created successfully

  • 401

    The client request has not been completed because it lacks valid authentication credentials for the requested resource.

  • 403

    The client does not have access rights to the content.

  • 405

    The request method is known by the server but is not supported by the target resource.

POST /api/v1.0/tasks
curl \
 -X POST https://openapi.niftypm.com/api/v1.0/tasks \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"name":"string","description":"string","order":42.0,"task_group_id":"string","task_id":"string","milestone_id":"string","rule_id":"string","annotation_id":"string","due_date":"string","start_date":"string","assignees":["string"],"labels":["string"],"meeting_ids":["string"],"embed_url":"string","banner":"string","fields":[{"id":"string","value":"string"}],"story_points":42.0,"dependency":{}}'
Request example
{
  "name": "string",
  "description": "string",
  "order": 42.0,
  "task_group_id": "string",
  "task_id": "string",
  "milestone_id": "string",
  "rule_id": "string",
  "annotation_id": "string",
  "due_date": "string",
  "start_date": "string",
  "assignees": [
    "string"
  ],
  "labels": [
    "string"
  ],
  "meeting_ids": [
    "string"
  ],
  "embed_url": "string",
  "banner": "string",
  "fields": [
    {
      "id": "string",
      "value": "string"
    }
  ],
  "story_points": 42.0,
  "dependency": {}
}
Request examples
{
  "name": "string",
  "description": "string",
  "order": 42.0,
  "task_group_id": "string",
  "task_id": "string",
  "milestone_id": "string",
  "rule_id": "string",
  "annotation_id": "string",
  "due_date": "string",
  "start_date": "string",
  "assignees": [
    "string"
  ],
  "labels": [
    "string"
  ],
  "meeting_ids": [
    "string"
  ],
  "embed_url": "string",
  "banner": "string",
  "fields": [
    {
      "id": "string",
      "value": "string"
    }
  ],
  "story_points": 42.0,
  "dependency": {}
}
Response examples (201)
{}
Response examples (201)
{}