API version v1
Method reference
PATCH /projects/{id}
Update a project
Scope: projects:write
Authenticate with Authorization: Bearer rv_live_…; see authentication.
Request
curl -X PATCH "https://api.rentevio.ru/api/public/v1/projects/00000000-0000-0000-0000-000000000000" \
-H "Authorization: Bearer rv_live_…" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: …" \
-d '{
"name": "string",
"client_id": "00000000-0000-0000-0000-000000000000",
"start_date": "string",
"end_date": "string",
"start_time": "string",
"end_time": "string",
"venue_id": "00000000-0000-0000-0000-000000000000",
"description": "string",
"internal_notes": "string",
"tags": [
"string"
],
"equipment": [
{
"equipment_id": "00000000-0000-0000-0000-000000000000",
"quantity": 0,
"status": "string"
}
],
"staff": [
{
"staff_profile_id": "00000000-0000-0000-0000-000000000000",
"role": "string",
"start_date": "string",
"end_date": "string",
"start_datetime": "string",
"end_datetime": "string",
"pay_basis": "string",
"client_rate": 0,
"cost_rate": 0,
"rate_per_hour": 0,
"notes": "string"
}
],
"transport": [
{
"transport_id": "00000000-0000-0000-0000-000000000000",
"start_date": "string",
"end_date": "string",
"start_datetime": "string",
"end_datetime": "string",
"comment": "string"
}
]
}'
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | — |
Request body
| Field | Type | Required | Description |
|---|---|---|---|
name | string | yes | — |
client_id | string | no | — |
start_date | string | no | — |
end_date | string | no | — |
start_time | string | no | — |
end_time | string | no | — |
venue_id | string | no | — |
description | string | no | — |
internal_notes | string | no | — |
tags | array | no | — |
equipment | array | no | — |
staff | array | no | — |
transport | array | no | — |
{
"name": "string",
"client_id": "00000000-0000-0000-0000-000000000000",
"start_date": "string",
"end_date": "string",
"start_time": "string",
"end_time": "string",
"venue_id": "00000000-0000-0000-0000-000000000000",
"description": "string",
"internal_notes": "string",
"tags": [
"string"
],
"equipment": [
{
"equipment_id": "00000000-0000-0000-0000-000000000000",
"quantity": 0,
"status": "string"
}
],
"staff": [
{
"staff_profile_id": "00000000-0000-0000-0000-000000000000",
"role": "string",
"start_date": "string",
"end_date": "string",
"start_datetime": "string",
"end_datetime": "string",
"pay_basis": "string",
"client_rate": 0,
"cost_rate": 0,
"rate_per_hour": 0,
"notes": "string"
}
],
"transport": [
{
"transport_id": "00000000-0000-0000-0000-000000000000",
"start_date": "string",
"end_date": "string",
"start_datetime": "string",
"end_datetime": "string",
"comment": "string"
}
]
}
Response
{
"success": true,
"data": {
"id": "00000000-0000-0000-0000-000000000000",
"number": "string",
"name": "string",
"status": "draft",
"client_id": "00000000-0000-0000-0000-000000000000",
"client_name": "string",
"start_date": "string",
"end_date": "string",
"start_time": "string",
"end_time": "string",
"venue_id": "00000000-0000-0000-0000-000000000000",
"venue_name": "string",
"description": "string",
"tags": [
"string"
],
"equipment": [
{}
],
"staff": [
{}
],
"transport": [
{}
],
"created_at": "string",
"updated_at": "string"
}
}
Errors
| Code | HTTP | When |
|---|---|---|
VALIDATION | 400 | Invalid request parameters |
UNAUTHORIZED | 401 | Invalid, missing, revoked, or expired API key |
FORBIDDEN | 403 | The key does not have the required scope |
NOT_FOUND | 404 | Resource not found or does not belong to the key’s company |
Was this helpful?