Other Incomes
POST
Update Other Income
Update an existing other income's information. Note: Use POST method with _method=PUT to handle file uploads.
Required Permission:
Edit Other Income
POST
/other-incomes/{id}
Request Body
JSONRequest Parameters
| Parameter | Type | Required | Validation | Description |
|---|---|---|---|---|
| _method | String | Required | string, required, in:PUT | Must be set to PUT |
| fund_id | Integer | Optional | integer, nullable, exists:funds,id | ID of the fund |
| other_income_category_id | Integer | Optional | integer, nullable, exists:other_income_categories,id | ID of the other income category |
| name | String | Optional | string, nullable, max:255 | Name of the other income |
| amount | Numeric | Optional | numeric, nullable, min:0.01 | Other income amount |
| date | Date | Optional | date, nullable, format:Y-m-d | Date of the other income |
| note | String | Optional | string, nullable, max:1000 | Additional notes |
| file | File | Optional | file, nullable, max:2048, mimes:jpg,jpeg,png,pdf | Attachment file |
Response
200 OKStatus Code
HTTP status code (200)
Message
Other income updated successfully
Data
Updated other income object