Skip to content

Update Other Cost or Revenue Entry

Request

Updates an existing one-time cost or revenue entry. Only the fields provided will be modified.

Security
ApiKey
Path
idstring, (uuid)required

The unique identifier for the cost or revenue entry.

project_idstring, (uuid)required

The unique identifier for the Project.

Body
typestring or null(AdjustmentType)

The type of entry: "cost" or "revenue".

Enum:"cost""revenue"
amountobject or null(Money)

The monetary amount of the entry.

datestring or null, (date)

The effective date of the entry in ISO format.

namestring or null

An optional descriptive name for the entry.

project_offering_idstring or null, (uuid)

The unique identifier of the Project Offering this entry is associated with, or null for project-level entries.

curl -i -X PATCH \
  'https://developer.getparallax.com/_mock/api-documentation/swagger/v1/projects/{project_id}/other-costs-and-revenue/{id}' \
  -H 'Content-Type: application/json-patch+json' \
  -H 'X-API-KEY: YOUR_API_KEY_HERE' \
  -d '{
    "type": "cost",
    "amount": {
      "currency_code": "string",
      "amount": 0
    },
    "date": "2019-08-24",
    "name": "string",
    "project_offering_id": "7dfed78d-ddbe-4f81-b7b1-e4094f9ff440"
  }'

Responses

OK

Response
No content