Skip to main content

fidelity_account_movements

Creates, updates, deletes, gets or lists a fidelity_account_movements resource.

Overview​

Namefidelity_account_movements
TypeResource
Idovh.me.fidelity_account_movements

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
movement_idinteger (wire: movementId)
amountinteger
balanceinteger
datestring (date-time)
descriptionstring
operationstringOperations a fidelity account movement can represent (bonus, cancel-bonus, cancel-credit, cancel-debit, cancel-pre-debit, credit, debit, pre-credit, pre-debit)
orderinteger
previous_balanceinteger (wire: previousBalance)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectmovement_idGet this object properties
listselectdate.from, date.to, x_pagination_modeList of entries of the fidelity account

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
api_hoststringThe OVHcloud API host. Selected by OVH_ENDPOINT (ovh-eu, ovh-ca or ovh-us; default ovh-eu). (default: api.eu.ovhcloud.com, x-stackQL-envVarSelector: {"envVar":"OVH_ENDPOINT","default":"ovh-eu","values":{"ovh-eu":"api.eu.ovhcloud.com","ovh-ca":"api.ca.ovhcloud.com","ovh-us":"api.us.ovhcloud.com"}})
movement_idinteger (wire: movementId)
date.fromstring (date-time)Filter the value of date property (>=)
date.tostring (date-time)Filter the value of date property (<=)
x_pagination_modestringSent as CachedObjectList-Pages by default so the list returns the full objects rather than their identifiers. (wire: X-Pagination-Mode)

SELECT examples​

Get this object properties

SELECT
movement_id,
amount,
balance,
date,
description,
operation,
order,
previous_balance
FROM ovh.me.fidelity_account_movements
WHERE movement_id = '{{ movement_id }}' -- required
;