Projects
Projects, with client, period, budget and status.
Module: Projects (projects).
Endpoints
Section titled “Endpoints”GET /api/v1/projects- List with filters, sorting and pagination (scopeprojects:read)GET /api/v1/projects/{id}- A record by id (scopeprojects:read)POST /api/v1/projects- Create a record (scopeprojects:write)PATCH /api/v1/projects/{id}- Modify the submitted fields (scopeprojects:write)DELETE /api/v1/projects/{id}- Delete or deactivate (scopeprojects:write)POST /api/v1/projects/{id}/add_expense- Project expense. (scopeprojects:write)POST /api/v1/projects/{id}/delete_expense- Deletes a project expense. (scopeprojects:write)POST /api/v1/projects/{id}/set_recurrence- The project’s recurrence; null clears it. (scopeprojects:write)POST /api/v1/projects/{id}/add_task- New task linked to the project. (scopeprojects:write, tasks:write)
Fields
Section titled “Fields”id(string, uuid; read): Unique identifier (UUID).party_id(string, uuid; write): Clientlocation_id(string, uuid; write): Locationtitle(string; write, required): Titlestatus(string; write): Statuscustom_fields(object; read): Custom fields (key-value object). Definitions are created in the ERP; see the guide on docs.rivil.app.created_at(string, date-time; read): Creation date (ISO 8601).updated_at(string, date-time; read): Last modification date (ISO 8601).code(string; write): Codedescription(string; write): Descriptionpriority(string; write): Prioritystart_date(string, date; write): Startend_date(string, date; write): Estimated endbudget(number; write): Value / budgetcreated_by(string; read)recurrence(object; read)recurrence_next(string, date; read)recurrence_parent(string, uuid; read)
Events
Section titled “Events”projects.createdprojects.updatedprojects.deleted
Accepts custom fields in custom_fields. docs.rivil.app documents the capability; the list for your company is in the ERP, under Settings, API.