Create Status
This endpoint creates a new status using the provided details.
Body
Required
-
name
string Required Name
-
order
number Order
-
color
string Color
-
isCompletionGroup
boolean Is Completion Group
-
project_id
string Required Project ID
Responses
-
201 application/json
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/taskgroups
curl \
--request POST https://openapi.niftypm.com/api/v1.0/taskgroups \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"name":"string","order":42.0,"color":"string","isCompletionGroup":true,"project_id":"string"}'
Request examples
{
"name": "string",
"order": 42.0,
"color": "string",
"isCompletionGroup": true,
"project_id": "string"
}
Response examples (201)
{
"id": "string",
"name": "string",
"created_by": "string",
"project": "string",
"color": "string",
"order": 42.0,
"assignees": [
"string"
],
"rollup": "string"
}