Add New Project

POST/api/projects

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area

Parameters

FieldTypeDescription
title string Mandatory Project Title.
client_id string Mandatory Project client id.
start_date string Mandatory Project Start Date.
description string Optional Project description.
deadline string Optional Project deadline.
created_by number optional Optional RISE user ID. Default: 1. Use for proper attribution.
curl -X POST "https://yoursite.com/api/projects" \
  -H "authtoken: YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "title": "...", "client_id": "...", "start_date": "...", "description": "...", "deadline": "..." }'

Success-Response:

HTTP/1.1 200 OK
{
  "status": true,
  "message": "Project add successful."
}


HTTP/1.1 404 Not Found
{
  "status": false,
  "message": "Project add fail."
}
MethodPOST
Path/api/projects
GroupProjects
Sincev1.0.0
Defined inRestApi/Controllers/ProjectsController.php