curl --request PUT \
--url https://api.sonderplan.com/v2/project \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Andor S1 EP7 Annoucement",
"code": "AND-S1-EP7",
"description": "Colonel Yularen announces that the ISB has gained more surveillance and punitive authority, while Meero is challenged by Blevin for breaking protocol by accessing Imperial data without authorization.",
"status_id": 1,
"status": [
{
"name": "Second Hold",
"description": "Has second priority if the first hold cancels",
"notification": true
}
],
"private": 0,
"parent_folder_id": 5,
"color_background": "#B0A7F1",
"color_text": "#000000",
"start": 1547501100,
"end": 1547538900,
"client_id": "p23987",
"client": [
{
"uuid": "p4",
"contact_person": {
"id": 2837
}
}
],
"custom_fields": [
{
"id": 7823,
"name": "Type",
"value": "Video Editing",
"value_id": 8973,
"update_key": "2_1_7823"
}
],
"people": {
"users": [
{
"id": 4,
"name": "Jane Smith",
"admin_flag": 0,
"role_id": 0,
"role_name": 0,
"project_admin": true,
"group_write_admin": false
}
]
},
"time_entries": [
{
"owner_id": 872383,
"name": "Colour Grading",
"description": "Opening scenes completed",
"start": 1547501100,
"end": 1547538900,
"booking_id": 872383
}
]
}'
{
"success": {
"id": 1
}
}
WRITE
access to the PROJECT
module is required to access this endpointprojectEdited
webhook will be fired when this endpoint has run successfullycurl --request PUT \
--url https://api.sonderplan.com/v2/project \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Andor S1 EP7 Annoucement",
"code": "AND-S1-EP7",
"description": "Colonel Yularen announces that the ISB has gained more surveillance and punitive authority, while Meero is challenged by Blevin for breaking protocol by accessing Imperial data without authorization.",
"status_id": 1,
"status": [
{
"name": "Second Hold",
"description": "Has second priority if the first hold cancels",
"notification": true
}
],
"private": 0,
"parent_folder_id": 5,
"color_background": "#B0A7F1",
"color_text": "#000000",
"start": 1547501100,
"end": 1547538900,
"client_id": "p23987",
"client": [
{
"uuid": "p4",
"contact_person": {
"id": 2837
}
}
],
"custom_fields": [
{
"id": 7823,
"name": "Type",
"value": "Video Editing",
"value_id": 8973,
"update_key": "2_1_7823"
}
],
"people": {
"users": [
{
"id": 4,
"name": "Jane Smith",
"admin_flag": 0,
"role_id": 0,
"role_name": 0,
"project_admin": true,
"group_write_admin": false
}
]
},
"time_entries": [
{
"owner_id": 872383,
"name": "Colour Grading",
"description": "Opening scenes completed",
"start": 1547501100,
"end": 1547538900,
"booking_id": 872383
}
]
}'
{
"success": {
"id": 1
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The ID of the project to update
Project object that needs to be updated
The default project schema which contains the majority of these fields
Successful Operation
The response is of type object
.