task_status
Adds a TaskStatus
Changed onAdds a TaskStatusto the system
post/api/v1/task_statuses
Request
- Base URLhttps://demo.invoiceninja.com
- Authnone declared. Required headers: X-API-TOKEN, X-Requested-With
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
includestring
Example:first_load
Includes child relationships in the response, format is comma separated. Check each model for the list of associated includes
Headers
X-API-TOKENstring required
Example:TOKEN
The API token to be used for authentication
X-Requested-Withstring required
Example:XMLHttpRequest
Used to send the XMLHttpRequest header
Request body
Example request
{
"id": "Opnel5aKBz",
"name": "Backlog",
"color": "#000000",
"task_status_order": 4,
"created_at": 134341234234,
"is_deleted": true,
"updated_at": 134341234234,
"archived_at": 134341234234
}Response
Returns the saved TaskStatus object
Example response
{
"id": "Opnel5aKBz",
"name": "Backlog",
"color": "#000000",
"task_status_order": 4,
"created_at": 134341234234,
"is_deleted": true,
"updated_at": 134341234234,
"archived_at": 134341234234
}Changes
- breaking
the response's body type changed from no type to
objectfor status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking
- breaking
the response's body type changed from
objectto no type for status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status
- breaking