Project
Create Project Phase
Instance
Billable Item
Booking
Calendar Subscription
Invoice
Quote
Invoice Template
Project
Time Activity
Project
Create Project Phase
WRITE
access to the PROJECT
module is required to access this endpointPOST
/
v2
/
project
/
phase
curl --request POST \
--url https://api.sonderplan.com/v2/project/phase \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Deliverables due to client",
"project_id": 2776,
"type_id": 2,
"start": 1669802192,
"end": 1670234192,
"color_background": "#B0A7F1",
"color_text": "#000000"
}'
{
"success": {
"id": 1
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Project Phase object
The default project phase schema which contains all of these fields
Response
200
application/json
Successful Operation
The response is of type object
.
curl --request POST \
--url https://api.sonderplan.com/v2/project/phase \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Deliverables due to client",
"project_id": 2776,
"type_id": 2,
"start": 1669802192,
"end": 1670234192,
"color_background": "#B0A7F1",
"color_text": "#000000"
}'
{
"success": {
"id": 1
}
}