ExpenseTempItems
List ExpenseTempItems
Retrieve a list of ExpenseTempItems.
The purchasedOn query parameter can operate comparisons with a given date-time value:
- ?purchasedOn=2021-01-01: strict equality.
- ?purchasedOn=since,2021-01-01: greater than or equal.
- ?purchasedOn=until,2021-01-01: lower than or equal.
- ?purchasedOn=between,2021-01-01,2021-01-31: comprised between two dates.
get/api/v3/expenseTempItems
Query parameters
ownerIdinteger[]
Comma-separated list of user identifiers (int).
orderBystring
{fieldName},{'asc'||'desc'}. Example: ?orderby=purchasedOn,desc
purchasedOnstring
Examples: between,2022-01-01,202201-31.
pagingstring required
Example:2000,500
{offset},{limit}. Defaults to 0,1000.
Response
OK
Example response
{
"data": {
"items": [
{
"expenseReceipts": [
{
"id": "f0d01fd0-5f27-4061-8dca-bee6318b0103",
"originalReceipt": {
"id": "cb0aae89-56c9-48db-9052-48981660e0f7",
"name": "receipt-f0d01fd0-5f27-4061-8dca-bee6318b0103.pdf",
"href": "https://example.ilucca.net/api/v3/ExpenseReceipts/f0d01fd0-5f27-4061-8dca-bee6318b0103/originalReceiptFile",
"extension": ".pdf"
},
"receiptPreview": {
"id": "cb0aae89-56c9-48db-9052-48981660e0f7",
"name": "receipt-f0d01fd0-5f27-4061-8dca-bee6318b0103-preview.pdf",
"href": "https://example.ilucca.net/api/v3/ExpenseReceipts/f0d01fd0-5f27-4061-8dca-bee6318b0103/receiptPreviewFile",
"extension": ".pdf"
}
}
]
}
]
}
}