v1

latestOpenAPI 3.0.02026-08-068926279.2 KB
Expected Revenue

Update expected revenue

Updates an existing expected revenue entry

put/expected-revenue/{id}

Path parameters

idinteger required

Expected Revenue ID

Request body

project_idinteger
amountnumber
datestring
monthstring

Alias for date; YYYY-MM means the first of that month

notestring
descriptionstring

Alias for note

Example request

{
  "project_id": 1,
  "amount": 5000,
  "date": "2024-01-15",
  "month": "2024-01",
  "note": "Milestone payment",
  "description": "Milestone payment"
}

Response

Successful response

idinteger
team_idinteger
project_idinteger nullable
client_idinteger nullable
amountnumber
monthstring
descriptionstring nullable
is_committedboolean
datestring date
notestring nullable
created_atstring date-time
updated_atstring date-time

Example response

{
  "id": 1,
  "team_id": 1,
  "project_id": 1,
  "client_id": 1,
  "amount": 5000,
  "month": "2024-01",
  "description": "Website project milestone",
  "is_committed": true,
  "date": "2024-01-15"
}