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