projects
Blank project
Changed onReturns a blank object with default values
get/api/v1/projects/create
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
Response
A blank project object
Example response
{
"id": "Opnel5aKBz",
"user_id": "Opnel5aKBz",
"assigned_user_id": "Opnel5aKBz",
"client_id": "Opnel5aKBz",
"name": "New Project",
"task_rate": 10,
"due_date": "2019-01-01",
"created_at": 134341234234,
"updated_at": 134341234234,
"archived_at": 134341234234,
"tags": [
{
"id": "Opnel5aKBz",
"name": "Urgent",
"color": "#FF0000"
}
]
}Changes
- breaking
the response property
//became optional for the status
- breaking
- info
added the optional property
to the response with the status
- info