v1
latestOpenAPI 3.0.12026-08-041753011.2 MBExpense
Update an expense
put/v1/workspaces/{workspaceId}/expenses/{expenseId}
Path parameters
workspaceIdstring required
Represents a workspace identifier across the system.
Example:64a687e29ae1f428e7ebe303
Represents a workspace identifier across the system.
expenseIdstring required
Represents an expense identifier across the system.
Example:64c777ddd3fcab07cfbb210c
Represents an expense identifier across the system.
Response
OK
Example response
{
"categoryId": "45y687e29ae1f428e7ebe890",
"date": "2020-01-01",
"fileId": "745687e29ae1f428e7ebe890",
"id": "64c777ddd3fcab07cfbb210c",
"notes": "This is a sample note for this expense.",
"projectId": "25b687e29ae1f428e7ebe123",
"taskId": "25b687e29ae1f428e7ebe123",
"total": 10500.5,
"userId": "89b687e29ae1f428e7ebe912",
"workspaceId": "64a687e29ae1f428e7ebe303"
}