List Transaction
Query parameters
-
Global search
-
Current page
-
Number of items per page
-
Determines if all items are selected
-
App\Transactions\Core\Models\Transaction Filters: 0, 1, 2, 3
Hide where attributes Show where attributes object
-
App\Transactions\Core\Models\Transaction Sorting by date, createdAt
-
Determines whether to return only archived records in the response.
Responses
-
Paginated response
Hide response attributes Show response attributes object
-
Transaction with related details schema
Hide data attributes Show data attributes object
-
aggregateId
-
Transaction schema
Hide transaction attributes Show transaction attributes object
-
id
-
Company ID
-
Family ID
-
Family name
-
Related transaction ID
-
Values are
debitorcredit. -
Date of transaction
-
Description of transaction
-
Deleted at date
-
-
details
Transaction Details with related entities schema
Hide details attributes Show details attributes object
-
Transaction Detail schema
Hide details attributes Show details attributes object
-
id
-
Company ID
-
Transaction ID
-
Values are
manual-debit,tax,additional-fee,registration-fee,tuition,trial,refund,payment-auto-failed,payment-auto-failed-reversal,discount-credit,payment-manual,discount,discount-tax,credit-note,manual-debit-credit,tax-credit,registration-fee-credit,tuition-credit,trial-credit,payment-auto,payment-pending-card,fee-class-manager, orfee-company. -
Amount of transaction
-
Description of transaction
-
Deleted at date
-
-
relatedEntities
Transaction Detail Entity schema
-
-
Transaction stats
-
-
Pagination schema
-
-
Not authorized
curl \
--request GET 'https://classmanager.test/v1/transactions/'
{
"data": [
{
"aggregateId": "trn_xxxxxxxxxxx",
"transaction": {
"id": "trn_123123123123",
"companyId": "co_123123123123",
"familyId": "fml_123123123123",
"familyName": "Potter",
"relatedTransactionId": "trn_123123123123",
"type": "debit",
"date": "2023-12-05",
"description": "This is a transaction",
"deletedAt": "2023-12-05 14:30:41"
},
"details": [
{
"details": {
"id": "trn_123123123123",
"companyId": "co_123123123123",
"transactionId": "trn_123123123123",
"type": "manual-debit",
"amount": 100,
"description": "This is a transaction",
"deletedAt": "2023-12-05 14:30:41"
},
"relatedEntities": [
{
"id": "trn_123123123123",
"companyId": "co_123123123123",
"transactionDetailId": "trnd_123123123123",
"entityId": "cls_123123123123"
}
]
}
],
"stats": {
"total": 1000,
"subtotal": 950,
"discountTotal": 30,
"taxTotal": 20
}
}
],
"pagination": {
"total": 15,
"count": 10,
"perPage": 10,
"currentPage": 1,
"totalPages": 2
}
}
{
"statusCode": 42.0,
"messages": [
"string"
],
"exception": {}
}