Create Task

POST /api/v1.0/tasks

This endpoint creates the task for the team member.

Body Required

Responses

  • The resource created successfully

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

  • The client does not have access rights to the content.

  • 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)
{}