POST api/DailyExpense/UpdateReport
Request Information
URI Parameters
None.
Body Parameters
UpdateDailyExpenseReportRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ReportDate | date |
None. |
|
| TotalBudget | decimal number |
None. |
|
| Note | string |
None. |
|
| UpdatedId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"ReportDate": "2026-04-14T21:56:16.2742563+07:00",
"TotalBudget": 1.0,
"Note": "sample string 3",
"UpdatedId": "f471b17a-e533-4009-b553-ccf0f4438c1f"
}
application/xml, text/xml
Sample:
<UpdateDailyExpenseReportRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Request.Expense"> <Id>1</Id> <Note>sample string 3</Note> <ReportDate>2026-04-14T21:56:16.2742563+07:00</ReportDate> <TotalBudget>1</TotalBudget> <UpdatedId>f471b17a-e533-4009-b553-ccf0f4438c1f</UpdatedId> </UpdateDailyExpenseReportRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
DailyExpenseReportDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ReportCode | string |
None. |
|
| ReportDate | date |
None. |
|
| StoreId | integer |
None. |
|
| EmployeeId | globally unique identifier |
None. |
|
| TotalExpense | decimal number |
None. |
|
| TotalRevenue | decimal number |
None. |
|
| TotalRefund | decimal number |
None. |
|
| TotalBudget | decimal number |
None. |
|
| ActualCash | decimal number |
None. |
|
| BudgetVariance | decimal number |
None. |
|
| BalanceForNextDay | decimal number |
None. |
|
| Status | string |
None. |
|
| SubmittedAt | date |
None. |
|
| SubmittedBy | globally unique identifier |
None. |
|
| ApprovedAt | date |
None. |
|
| ApprovedBy | globally unique identifier |
None. |
|
| RejectedAt | date |
None. |
|
| RejectedBy | globally unique identifier |
None. |
|
| RejectionReason | string |
None. |
|
| Note | string |
None. |
|
| CreatedBy | globally unique identifier |
None. |
|
| CreatedAt | date |
None. |
|
| UpdatedAt | date |
None. |
|
| IsDeleted | boolean |
None. |
|
| EmployeeName | string |
None. |
|
| StoreName | string |
None. |
|
| SubmittedByName | string |
None. |
|
| ApprovedByName | string |
None. |
|
| RejectedByName | string |
None. |
|
| CreatedByName | string |
None. |
|
| IsOverBudget | boolean |
None. |
|
| DetailCount | integer |
None. |
|
| TotalOrderCount | integer |
None. |
|
| TotalCustomerCount | integer |
None. |
|
| Details | Collection of ExpenseDetailDto |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"ReportCode": "sample string 2",
"ReportDate": "2026-04-14T21:56:16.2879243+07:00",
"StoreId": 4,
"EmployeeId": "4c9100ba-1a62-4f65-b758-9c578f376eab",
"TotalExpense": 5.0,
"TotalRevenue": 6.0,
"TotalRefund": 7.0,
"TotalBudget": 1.0,
"ActualCash": 1.0,
"BudgetVariance": 1.0,
"BalanceForNextDay": 1.0,
"Status": "sample string 8",
"SubmittedAt": "2026-04-14T21:56:16.2879243+07:00",
"SubmittedBy": "20211492-2e39-4e97-b120-f5e332e2b272",
"ApprovedAt": "2026-04-14T21:56:16.2879243+07:00",
"ApprovedBy": "82b66161-c945-4219-8f00-26bb9173e499",
"RejectedAt": "2026-04-14T21:56:16.2879243+07:00",
"RejectedBy": "bdfc3427-09a9-4c62-af6f-4d7af12549cb",
"RejectionReason": "sample string 9",
"Note": "sample string 10",
"CreatedBy": "12b688e6-b9b2-49d2-b120-ab3618509105",
"CreatedAt": "2026-04-14T21:56:16.2879243+07:00",
"UpdatedAt": "2026-04-14T21:56:16.2879243+07:00",
"IsDeleted": true,
"EmployeeName": "sample string 13",
"StoreName": "sample string 14",
"SubmittedByName": "sample string 15",
"ApprovedByName": "sample string 16",
"RejectedByName": "sample string 17",
"CreatedByName": "sample string 18",
"IsOverBudget": false,
"DetailCount": 19,
"TotalOrderCount": 20,
"TotalCustomerCount": 21,
"Details": [
{
"Id": 1,
"ReportId": 2,
"CategoryId": 3,
"PaymentMethodId": 1,
"ExpenseDate": "2026-04-14T21:56:16.2879243+07:00",
"Amount": 5.0,
"Quantity": 1.0,
"UnitPrice": 1.0,
"Description": "sample string 6",
"Vendor": "sample string 7",
"SupplierName": "sample string 8",
"CustomerName": "sample string 9",
"InvoiceNumber": "sample string 10",
"Reference": "sample string 11",
"AttachmentUrl": "sample string 12",
"AttachmentType": "sample string 13",
"IsApproved": true,
"ApprovedBy": "ec3d55aa-2e96-4b94-90e7-88ec6d7fab7d",
"ApprovedAt": "2026-04-14T21:56:16.2889208+07:00",
"CreatedBy": "5177a6eb-78ca-460d-83f9-fefa8923e99f",
"CreatedAt": "2026-04-14T21:56:16.2889208+07:00",
"UpdatedAt": "2026-04-14T21:56:16.2889208+07:00",
"IsDeleted": true,
"TransactionType": "sample string 17",
"IsLoggedToSystem": true,
"RefundAmount": 1.0,
"CategoryName": "sample string 19",
"CategoryCode": "sample string 20",
"CategoryColor": "sample string 21",
"PaymentMethodName": "sample string 22",
"RefundCategoryId": 1,
"RefundCategoryName": "sample string 23",
"CalculatedTotal": 1.0,
"HasAttachment": true
},
{
"Id": 1,
"ReportId": 2,
"CategoryId": 3,
"PaymentMethodId": 1,
"ExpenseDate": "2026-04-14T21:56:16.2879243+07:00",
"Amount": 5.0,
"Quantity": 1.0,
"UnitPrice": 1.0,
"Description": "sample string 6",
"Vendor": "sample string 7",
"SupplierName": "sample string 8",
"CustomerName": "sample string 9",
"InvoiceNumber": "sample string 10",
"Reference": "sample string 11",
"AttachmentUrl": "sample string 12",
"AttachmentType": "sample string 13",
"IsApproved": true,
"ApprovedBy": "ec3d55aa-2e96-4b94-90e7-88ec6d7fab7d",
"ApprovedAt": "2026-04-14T21:56:16.2889208+07:00",
"CreatedBy": "5177a6eb-78ca-460d-83f9-fefa8923e99f",
"CreatedAt": "2026-04-14T21:56:16.2889208+07:00",
"UpdatedAt": "2026-04-14T21:56:16.2889208+07:00",
"IsDeleted": true,
"TransactionType": "sample string 17",
"IsLoggedToSystem": true,
"RefundAmount": 1.0,
"CategoryName": "sample string 19",
"CategoryCode": "sample string 20",
"CategoryColor": "sample string 21",
"PaymentMethodName": "sample string 22",
"RefundCategoryId": 1,
"RefundCategoryName": "sample string 23",
"CalculatedTotal": 1.0,
"HasAttachment": true
}
]
}
application/xml, text/xml
Sample:
<DailyExpenseReportDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Dto.Expense">
<ActualCash>1</ActualCash>
<ApprovedAt>2026-04-14T21:56:16.2879243+07:00</ApprovedAt>
<ApprovedBy>82b66161-c945-4219-8f00-26bb9173e499</ApprovedBy>
<ApprovedByName>sample string 16</ApprovedByName>
<BalanceForNextDay>1</BalanceForNextDay>
<BudgetVariance>1</BudgetVariance>
<CreatedAt>2026-04-14T21:56:16.2879243+07:00</CreatedAt>
<CreatedBy>12b688e6-b9b2-49d2-b120-ab3618509105</CreatedBy>
<CreatedByName>sample string 18</CreatedByName>
<DetailCount>19</DetailCount>
<Details>
<ExpenseDetailDto>
<Amount>5</Amount>
<ApprovedAt>2026-04-14T21:56:16.2889208+07:00</ApprovedAt>
<ApprovedBy>ec3d55aa-2e96-4b94-90e7-88ec6d7fab7d</ApprovedBy>
<AttachmentType>sample string 13</AttachmentType>
<AttachmentUrl>sample string 12</AttachmentUrl>
<CategoryCode>sample string 20</CategoryCode>
<CategoryColor>sample string 21</CategoryColor>
<CategoryId>3</CategoryId>
<CategoryName>sample string 19</CategoryName>
<CreatedAt>2026-04-14T21:56:16.2889208+07:00</CreatedAt>
<CreatedBy>5177a6eb-78ca-460d-83f9-fefa8923e99f</CreatedBy>
<CustomerName>sample string 9</CustomerName>
<Description>sample string 6</Description>
<ExpenseDate>2026-04-14T21:56:16.2879243+07:00</ExpenseDate>
<Id>1</Id>
<InvoiceNumber>sample string 10</InvoiceNumber>
<IsApproved>true</IsApproved>
<IsDeleted>true</IsDeleted>
<IsLoggedToSystem>true</IsLoggedToSystem>
<PaymentMethodId>1</PaymentMethodId>
<PaymentMethodName>sample string 22</PaymentMethodName>
<Quantity>1</Quantity>
<Reference>sample string 11</Reference>
<RefundAmount>1</RefundAmount>
<RefundCategoryId>1</RefundCategoryId>
<RefundCategoryName>sample string 23</RefundCategoryName>
<ReportId>2</ReportId>
<SupplierName>sample string 8</SupplierName>
<TransactionType>sample string 17</TransactionType>
<UnitPrice>1</UnitPrice>
<UpdatedAt>2026-04-14T21:56:16.2889208+07:00</UpdatedAt>
<Vendor>sample string 7</Vendor>
</ExpenseDetailDto>
<ExpenseDetailDto>
<Amount>5</Amount>
<ApprovedAt>2026-04-14T21:56:16.2889208+07:00</ApprovedAt>
<ApprovedBy>ec3d55aa-2e96-4b94-90e7-88ec6d7fab7d</ApprovedBy>
<AttachmentType>sample string 13</AttachmentType>
<AttachmentUrl>sample string 12</AttachmentUrl>
<CategoryCode>sample string 20</CategoryCode>
<CategoryColor>sample string 21</CategoryColor>
<CategoryId>3</CategoryId>
<CategoryName>sample string 19</CategoryName>
<CreatedAt>2026-04-14T21:56:16.2889208+07:00</CreatedAt>
<CreatedBy>5177a6eb-78ca-460d-83f9-fefa8923e99f</CreatedBy>
<CustomerName>sample string 9</CustomerName>
<Description>sample string 6</Description>
<ExpenseDate>2026-04-14T21:56:16.2879243+07:00</ExpenseDate>
<Id>1</Id>
<InvoiceNumber>sample string 10</InvoiceNumber>
<IsApproved>true</IsApproved>
<IsDeleted>true</IsDeleted>
<IsLoggedToSystem>true</IsLoggedToSystem>
<PaymentMethodId>1</PaymentMethodId>
<PaymentMethodName>sample string 22</PaymentMethodName>
<Quantity>1</Quantity>
<Reference>sample string 11</Reference>
<RefundAmount>1</RefundAmount>
<RefundCategoryId>1</RefundCategoryId>
<RefundCategoryName>sample string 23</RefundCategoryName>
<ReportId>2</ReportId>
<SupplierName>sample string 8</SupplierName>
<TransactionType>sample string 17</TransactionType>
<UnitPrice>1</UnitPrice>
<UpdatedAt>2026-04-14T21:56:16.2889208+07:00</UpdatedAt>
<Vendor>sample string 7</Vendor>
</ExpenseDetailDto>
</Details>
<EmployeeId>4c9100ba-1a62-4f65-b758-9c578f376eab</EmployeeId>
<EmployeeName>sample string 13</EmployeeName>
<Id>1</Id>
<IsDeleted>true</IsDeleted>
<Note>sample string 10</Note>
<RejectedAt>2026-04-14T21:56:16.2879243+07:00</RejectedAt>
<RejectedBy>bdfc3427-09a9-4c62-af6f-4d7af12549cb</RejectedBy>
<RejectedByName>sample string 17</RejectedByName>
<RejectionReason>sample string 9</RejectionReason>
<ReportCode>sample string 2</ReportCode>
<ReportDate>2026-04-14T21:56:16.2879243+07:00</ReportDate>
<Status>sample string 8</Status>
<StoreId>4</StoreId>
<StoreName>sample string 14</StoreName>
<SubmittedAt>2026-04-14T21:56:16.2879243+07:00</SubmittedAt>
<SubmittedBy>20211492-2e39-4e97-b120-f5e332e2b272</SubmittedBy>
<SubmittedByName>sample string 15</SubmittedByName>
<TotalBudget>1</TotalBudget>
<TotalCustomerCount>21</TotalCustomerCount>
<TotalExpense>5</TotalExpense>
<TotalOrderCount>20</TotalOrderCount>
<TotalRefund>7</TotalRefund>
<TotalRevenue>6</TotalRevenue>
<UpdatedAt>2026-04-14T21:56:16.2879243+07:00</UpdatedAt>
</DailyExpenseReportDto>