β˜‘οΈSubtasks

Create/Update/Get/Delete subtasks within main tasks.

Create subtask

POST https://app.ninjapipe.com/api/v1/tasks/createSubTask

Creates a new subtask within your task.

Create Sub Task

post
Authorizations
HTTPRequired
Header parameters
API_KEYstringOptionalExample: API_KEY
Body
objectOptionalExample: {"task_id":742,"item_name":"Call Alex Johnson","startDate":"2023-05-01T00:00:00","endDate":"2023-05-05T00:00:00","local_date":"2023-05-01T00:00:00","taskItem_assignee":[],"isCompleted":false}
Responses
200

Successful response

application/json
post
/api/v1/tasks/createSubTask
200

Successful response

No content

Update a subtask

PUThttps://app.ninjapipe.com/api/v1/tasks/{task_id}/updateSubTask

Update Subtask

put
Authorizations
HTTPRequired
Header parameters
API_KEYstringOptionalExample: API_KEY
Body
objectOptionalExample: {"item_name":"Website Redesign!","description":"Redesign the company homepage to improve user experience.","startDate":"2023-06-15T09:00:00","endDate":"2023-07-15T17:00:00","local_date":"2023-06-15T09:00:00","isCompleted":false}
Responses
200

Successful response

application/json
put
/api/v1/tasks/749/updateSubTask
200

Successful response

No content

Get all subtasks

GEThttps://app.ninjapipe.com/api/v1/tasks/{task_id}/getSubTasks

Get Subtasks

get
Authorizations
HTTPRequired
Header parameters
API_KEYstringOptionalExample: API_KEY
Responses
200

Successful response

application/json
get
/api/v1/tasks/742/getSubTasks
200

Successful response

No content

Last updated