POST api/DailyExpense/CreateReport
Request Information
URI Parameters
None.
Body Parameters
CreateDailyExpenseReportRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ReportDate | date |
None. |
|
| StoreId | integer |
None. |
|
| EmployeeId | globally unique identifier |
None. |
|
| TotalBudget | decimal number |
None. |
|
| Note | string |
None. |
|
| CreateId | globally unique identifier |
None. |
|
| Details | Collection of CreateExpenseDetailRequest |
None. |
Request Formats
application/json, text/json
Sample:
{
"ReportDate": "2026-04-14T19:43:13.8850739+07:00",
"StoreId": 2,
"EmployeeId": "96d99573-1487-4292-aa5d-8ffccdfeb162",
"TotalBudget": 1.0,
"Note": "sample string 3",
"CreateId": "8f1503fa-0824-4614-8e60-1948aab1416c",
"Details": [
{
"ReportId": 1,
"CategoryId": 1,
"PaymentMethodId": 1,
"ExpenseDate": "2026-04-14T19:43:13.8870202+07:00",
"Amount": 3.0,
"Quantity": 1.0,
"UnitPrice": 1.0,
"Description": "sample string 4",
"Vendor": "sample string 5",
"InvoiceNumber": "sample string 6",
"Reference": "sample string 7",
"AttachmentUrl": "sample string 8",
"AttachmentType": "sample string 9",
"TransactionType": "sample string 10",
"IsLoggedToSystem": true,
"RefundAmount": 1.0,
"RefundCategoryId": 1,
"CreateId": "1d1b216d-6bb5-48a2-a93c-767902fb03ee"
},
{
"ReportId": 1,
"CategoryId": 1,
"PaymentMethodId": 1,
"ExpenseDate": "2026-04-14T19:43:13.8870202+07:00",
"Amount": 3.0,
"Quantity": 1.0,
"UnitPrice": 1.0,
"Description": "sample string 4",
"Vendor": "sample string 5",
"InvoiceNumber": "sample string 6",
"Reference": "sample string 7",
"AttachmentUrl": "sample string 8",
"AttachmentType": "sample string 9",
"TransactionType": "sample string 10",
"IsLoggedToSystem": true,
"RefundAmount": 1.0,
"RefundCategoryId": 1,
"CreateId": "1d1b216d-6bb5-48a2-a93c-767902fb03ee"
}
]
}
application/xml, text/xml
Sample:
<CreateDailyExpenseReportRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Request.Expense">
<CreateId>8f1503fa-0824-4614-8e60-1948aab1416c</CreateId>
<Details>
<CreateExpenseDetailRequest>
<Amount>3</Amount>
<AttachmentType>sample string 9</AttachmentType>
<AttachmentUrl>sample string 8</AttachmentUrl>
<CategoryId>1</CategoryId>
<CreateId>1d1b216d-6bb5-48a2-a93c-767902fb03ee</CreateId>
<Description>sample string 4</Description>
<ExpenseDate>2026-04-14T19:43:13.8870202+07:00</ExpenseDate>
<InvoiceNumber>sample string 6</InvoiceNumber>
<IsLoggedToSystem>true</IsLoggedToSystem>
<PaymentMethodId>1</PaymentMethodId>
<Quantity>1</Quantity>
<Reference>sample string 7</Reference>
<RefundAmount>1</RefundAmount>
<RefundCategoryId>1</RefundCategoryId>
<ReportId>1</ReportId>
<TransactionType>sample string 10</TransactionType>
<UnitPrice>1</UnitPrice>
<Vendor>sample string 5</Vendor>
</CreateExpenseDetailRequest>
<CreateExpenseDetailRequest>
<Amount>3</Amount>
<AttachmentType>sample string 9</AttachmentType>
<AttachmentUrl>sample string 8</AttachmentUrl>
<CategoryId>1</CategoryId>
<CreateId>1d1b216d-6bb5-48a2-a93c-767902fb03ee</CreateId>
<Description>sample string 4</Description>
<ExpenseDate>2026-04-14T19:43:13.8870202+07:00</ExpenseDate>
<InvoiceNumber>sample string 6</InvoiceNumber>
<IsLoggedToSystem>true</IsLoggedToSystem>
<PaymentMethodId>1</PaymentMethodId>
<Quantity>1</Quantity>
<Reference>sample string 7</Reference>
<RefundAmount>1</RefundAmount>
<RefundCategoryId>1</RefundCategoryId>
<ReportId>1</ReportId>
<TransactionType>sample string 10</TransactionType>
<UnitPrice>1</UnitPrice>
<Vendor>sample string 5</Vendor>
</CreateExpenseDetailRequest>
</Details>
<EmployeeId>96d99573-1487-4292-aa5d-8ffccdfeb162</EmployeeId>
<Note>sample string 3</Note>
<ReportDate>2026-04-14T19:43:13.8850739+07:00</ReportDate>
<StoreId>2</StoreId>
<TotalBudget>1</TotalBudget>
</CreateDailyExpenseReportRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<long xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</long>