v1

latestOpenAPI 3.0.32026-08-0613775357.6 KB
expense items

Fetch project expense item

Retrieves a single expense item by its ID.

get/projects/{project_id}/expense_items/{expense_item_id}

Path parameters

project_idinteger required

The ID of the user.

expense_item_idinteger required

The ID of the expense item.

Response

The requested expense item object.

expense_item_idinteger

Unique identifier for the expense item.

assignable_idinteger required

ID of the item being assigned.

assignable_type'Project' | 'LeaveType' | 'Phase'

The type of the assignable item.

user_idinteger required

ID of the user to whom the item is assigned.

amountnumber float required

The assigned amount.

datestring date required

The date of the expense item.

categorystring nullable

The category of the expense item. Can be null.

notesstring nullable

Additional notes for the expense item.

created_atstring date-time

Timestamp when the expense item was created.

updated_atstring date-time

Timestamp when the expense item was last updated.

Example response

{
  "expense_item_id": 1,
  "assignable_id": 32,
  "assignable_type": "Project",
  "user_id": 2,
  "amount": 10,
  "date": "2015-04-09",
  "notes": "Testing exp",
  "created_at": "2015-04-09T21:54:13Z",
  "updated_at": "2015-04-09T21:54:13Z"
}