Skip to content

Projects

Projects, with client, period, budget and status.

Module: Projects (projects).

  • GET /api/v1/projects - List with filters, sorting and pagination (scope projects:read)
  • GET /api/v1/projects/{id} - A record by id (scope projects:read)
  • POST /api/v1/projects - Create a record (scope projects:write)
  • PATCH /api/v1/projects/{id} - Modify the submitted fields (scope projects:write)
  • DELETE /api/v1/projects/{id} - Delete or deactivate (scope projects:write)
  • POST /api/v1/projects/{id}/add_expense - Project expense. (scope projects:write)
  • POST /api/v1/projects/{id}/delete_expense - Deletes a project expense. (scope projects:write)
  • POST /api/v1/projects/{id}/set_recurrence - The project’s recurrence; null clears it. (scope projects:write)
  • POST /api/v1/projects/{id}/add_task - New task linked to the project. (scope projects:write, tasks:write)
  • id (string, uuid; read): Unique identifier (UUID).
  • party_id (string, uuid; write): Client
  • location_id (string, uuid; write): Location
  • title (string; write, required): Title
  • status (string; write): Status
  • custom_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): Code
  • description (string; write): Description
  • priority (string; write): Priority
  • start_date (string, date; write): Start
  • end_date (string, date; write): Estimated end
  • budget (number; write): Value / budget
  • created_by (string; read)
  • recurrence (object; read)
  • recurrence_next (string, date; read)
  • recurrence_parent (string, uuid; read)
  • projects.created
  • projects.updated
  • projects.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.