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

JSON

    

Request Parameters

Parameter Type Required Validation Description
_methodStringRequiredstring, required, in:PUTMust be set to PUT
fund_idIntegerOptionalinteger, nullable, exists:funds,idID of the fund
other_income_category_idIntegerOptionalinteger, nullable, exists:other_income_categories,idID of the other income category
nameStringOptionalstring, nullable, max:255Name of the other income
amountNumericOptionalnumeric, nullable, min:0.01Other income amount
dateDateOptionaldate, nullable, format:Y-m-dDate of the other income
noteStringOptionalstring, nullable, max:1000Additional notes
fileFileOptionalfile, nullable, max:2048, mimes:jpg,jpeg,png,pdfAttachment file

Response

200 OK
Status Code
HTTP status code (200)
Message
Other income updated successfully
Data
Updated other income object