Status
Create Status
Instance
Billable Item
Booking
Calendar Subscription
Invoice
Quote
Invoice Template
Project
Time Activity
Status
Create Status
WRITE
access to the ADMIN
module is required to access this endpointPOST
/
v2
/
status
curl --request POST \
--url https://api.sonderplan.com/v2/status \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Confirmed",
"description": "The confirmed status",
"type_id": 1,
"notification": true,
"order": 3,
"color_background": "#B0A7F1",
"color_text": "#000000"
}'
{
"success": {
"id": 2384
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Status model
Response
200
application/json
Successful Operation
The response is of type object
.
curl --request POST \
--url https://api.sonderplan.com/v2/status \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Confirmed",
"description": "The confirmed status",
"type_id": 1,
"notification": true,
"order": 3,
"color_background": "#B0A7F1",
"color_text": "#000000"
}'
{
"success": {
"id": 2384
}
}