POST api/DailyExpense/UpdateDetail
Request Information
URI Parameters
None.
Body Parameters
UpdateExpenseDetailRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CategoryId | integer |
None. |
|
| PaymentMethodId | integer |
None. |
|
| ExpenseDate | date |
None. |
|
| Amount | decimal number |
None. |
|
| Quantity | decimal number |
None. |
|
| UnitPrice | decimal number |
None. |
|
| Description | string |
None. |
|
| Vendor | string |
None. |
|
| InvoiceNumber | string |
None. |
|
| Reference | string |
None. |
|
| AttachmentUrl | string |
None. |
|
| AttachmentType | string |
None. |
|
| TransactionType | string |
None. |
|
| IsLoggedToSystem | boolean |
None. |
|
| RefundAmount | decimal number |
None. |
|
| RefundCategoryId | integer |
None. |
|
| UpdatedId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"categoryId": 2,
"paymentMethodId": 1,
"expenseDate": "2026-11-27T01:55:34.8147904+07:00",
"amount": 4.0,
"quantity": 1.0,
"unitPrice": 1.0,
"description": "sample string 5",
"vendor": "sample string 6",
"invoiceNumber": "sample string 7",
"reference": "sample string 8",
"attachmentUrl": "sample string 9",
"attachmentType": "sample string 10",
"transactionType": "sample string 11",
"isLoggedToSystem": true,
"refundAmount": 1.0,
"refundCategoryId": 1,
"updatedId": "131f6d74-df20-4584-a381-152105fdad4e"
}
application/xml, text/xml
Sample:
<UpdateExpenseDetailRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Request.Expense"> <Amount>4</Amount> <AttachmentType>sample string 10</AttachmentType> <AttachmentUrl>sample string 9</AttachmentUrl> <CategoryId>2</CategoryId> <Description>sample string 5</Description> <ExpenseDate>2026-11-27T01:55:34.8147904+07:00</ExpenseDate> <Id>1</Id> <InvoiceNumber>sample string 7</InvoiceNumber> <IsLoggedToSystem>true</IsLoggedToSystem> <PaymentMethodId>1</PaymentMethodId> <Quantity>1</Quantity> <Reference>sample string 8</Reference> <RefundAmount>1</RefundAmount> <RefundCategoryId>1</RefundCategoryId> <TransactionType>sample string 11</TransactionType> <UnitPrice>1</UnitPrice> <UpdatedId>131f6d74-df20-4584-a381-152105fdad4e</UpdatedId> <Vendor>sample string 6</Vendor> </UpdateExpenseDetailRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.