[GET] transactionsSummary
/api/manager/transactionsSummary
TransactionsSummaryRequestDTO
Attributes:
Name | Type | Description |
---|---|---|
start_date |
str
|
start date of the transaction summary in the format of 'YYYY-MM-DD HH:MM:SS' |
end_date |
str
|
end date of the transaction summary in the format of 'YYYY-MM-DD HH:MM:SS' |
site_id |
str
|
site id of the transaction summary |
TransactionsSummaryResponseDTO
Attributes:
Name | Type | Description |
---|---|---|
statistics |
TransactionsSummaryStatisticsDTO
|
statistics of the transaction summary of type |
transactions |
List[TransactionDTO]
|
list of transactions of type |
TransactionDTO
Attributes:
Name | Type | Description |
---|---|---|
reference_num |
str
|
transaction id |
start_date |
str
|
start date of the transaction in the format of 'YYYY-MM-DD HH:MM:SS' |
charger_name |
str
|
charger used for the transaction |
location |
Optional[str]
|
location of the transaction |
demand |
Annotated[float, AfterValidator(lambda x: round(x, 2))]
|
kWh consumed during charging session |
driver |
str
|
name of the driver |
duration |
Annotated[float, AfterValidator(lambda x: round(x, 2))]
|
duration of the charging session in hours |
email |
Optional[str]
|
email of the driver |
payment_amount |
Optional[float]
|
payment amount in PHP |
payment_method |
Optional[PaymentMethodEnum]
|
payment method used |
conn_type |
str
|
type of the connector used for the charging session |
TransactionsSummaryStatisticsDTO
Attributes:
Name | Type | Description |
---|---|---|
sessions |
int
|
total number of charging sessions |
total_demand |
float
|
total demand in kWh |
total_duration |
float
|
total duration in hours |
wallet_payments |
float
|
total wallet payments in PHP |
straight_payments |
float
|
total straight payments in PHP |
total_payments |
float
|
total payments in PHP |