Get Expense Sheet Entries By Expense Sheet Id
Display Expense Sheet Entries of specific Expense Sheet Id. Returns a 200 OK response code if the call succeeded.
GET /API/Expensesheets/{Expensesheet_Id}
Example Request
curl "https://demo.unitektime.com/api/Expensesheets/00000000-0000-0000-0000-000000000000" \
-H "APIKey: {Your API Key}" \
-H "AuthToken: {Your Authentication Token}" \
-H "User-Agent: MyApp (yourname@example.com)" \
-X GET \
-H "Content-Type: application/json"
Example Response
[
{
"ExpenseSheets": {
"ID": "00000000-0000-0000-0000-000000000000",
"EmployeeName": "Demo Employee",
"EMailAddress": "user@example.com",
"ExpenseEntryDate": "2020-01-01T00:00:00",
"CreatedOn": "2020-01-01T00:00:00",
"TotalAmount": 100,
"ReimbursementCurrency": "US$",
"Status": "Submitted",
"SubmittedDate": "2020-01-01T00:00:00",
"ApprovedOn": "",
"ExpenseEntryRows": [
{
"ProjectName": "Sample Project",
"TaskName": "Sample Task",
"Description": "",
"ExpenseType": "Air Travel",
"CurrencyCode": "US$",
"Quantity": 0,
"Rate": 0,
"PaymentMethod": null,
"AmountBeforeTax": 90,
"TaxAmount": 10,
"NetAmount": 100,
"AccountTaxZone": "Default",
"InvoiceNumber": null,
"InvoiceDate": null,
"TaxCode": "Airport Tax",
"IsBillable": true
}
]
}
}
]
Get Expense Sheet Entries By Employee and Date Range
Display Expense Sheet Entries. Returns a 200 OK response code if the call succeeded.
GET /API/Expensesheets/Employee/{Employee_ID}/{Start_Date}/{End_Date}
Example Request
curl "https://demo.unitektime.com/api/Expensesheets/Employee/00001/2018-01-01/2018-01-31" \
-H "APIKey: {Your API Key}" \
-H "AuthToken: {Your Authentication Token}" \
-H "User-Agent: MyApp (yourname@example.com)" \
-X GET \
-H "Content-Type: application/json"
Example Response
[
{
"AccountEmployeeExpenseSheetId": "00000000-0000-0000-0000-000000000000",
"AccountId": 1,
"AccountEmployeeId": 1,
"Description": "Sample Description",
"ExpenseSheetDate": "2020-01-01T00:00:00+00:00",
"SubmittedDate": "2020-01-01T00:00:00+00:00",
"CustomField1": null,
"CustomField2": null,
"CustomField3": null,
"CustomField4": null,
"CustomField5": null,
"CustomField6": null,
"CustomField7": null,
"CustomField8": null,
"CustomField9": null,
"CustomField10": null,
"CustomField11": null,
"CustomField12": null,
"CustomField13": null,
"CustomField14": null,
"CustomField15": null,
"ReimbursementCurrencyId": 1,
"Approved": "No",
"Rejected": "No",
"Submitted": "Yes",
"InApproval": "No"
}
]
Get Expense Sheet Entries By Date Range
Display Expense Sheet Entries. Returns a 200 OK response code if the call succeeded.
GET /API/Expensesheets/{Start_Date}/{End_Date}
Example Request
curl "https://demo.unitektime.com/api/Expensesheets/2020-01-01/2020-01-31" \
-H "APIKey: {Your API Key}" \
-H "AuthToken: {Your Authentication Token}" \
-H "User-Agent: MyApp (yourname@example.com)" \
-X GET \
-H "Content-Type: application/json"
Example Response
[
{
"AccountEmployeeExpenseSheetId": "00000000-0000-0000-0000-000000000000",
"AccountId": 1,
"AccountEmployeeId": 1,
"Description": "Demo Expense",
"ExpenseSheetDate": "2020-01-01T00:00:00+00:00",
"SubmittedDate": "2020-01-01T00:00:00+00:00",
"CustomField1": null,
"CustomField2": null,
"CustomField3": null,
"CustomField4": null,
"CustomField5": null,
"CustomField6": null,
"CustomField7": null,
"CustomField8": null,
"CustomField9": null,
"CustomField10": null,
"CustomField11": null,
"CustomField12": null,
"CustomField13": null,
"CustomField14": null,
"CustomField15": null,
"ReimbursementCurrencyId": 1,
"Approved": "Yes",
"Rejected": "No",
"Submitted": "Yes",
"InApproval": "No"
}
]