POST api/tasks

POST /api/tasks
application/json

Body Required

  • taskId integer(int64)
  • todoList object
  • title string
  • description string
  • dueDate string
  • author string
  • isCompleted integer(int32)

Responses

  • 200 */*

    OK

    Hide response attributes Show response attributes object
    • taskId integer(int64)
    • todoList object
    • title string
    • description string
    • dueDate string
    • author string
    • isCompleted integer(int32)
POST /api/tasks
curl \
 -X POST https://TodoListRestApi/api/tasks \
 -H "Content-Type: application/json" \
 -d '{"taskId":42,"todoList":{},"title":"string","description":"string","dueDate":"string","author":"string","isCompleted":42}'
Request example
{
  "taskId": 42,
  "todoList": {},
  "title": "string",
  "description": "string",
  "dueDate": "string",
  "author": "string",
  "isCompleted": 42
}
Response examples (200)
{
  "taskId": 42,
  "todoList": {},
  "title": "string",
  "description": "string",
  "dueDate": "string",
  "author": "string",
  "isCompleted": 42
}