Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

User getTransactionHistory: Difference between revisions

From Catglobe Wiki
No edit summary
Line 20: Line 20:
<source lang="javascript">
<source lang="javascript">
User_getTransactionHistory (10768810);
User_getTransactionHistory (10768810);
//{
/*
{
{134911,{2013,9,4,10,50,7,300,36},100,Tak for deltagelse i undersøgelse (CG0373),ManualTransaction,Empty},
{134911,{2013,9,4,10,50,7,300,36},100,Tak for deltagelse i undersøgelse (CG0373),ManualTransaction,Empty},
{731452,{2018,6,21,8,33,53,700,25},-30,Pay point for order:11494,OrderTransaction,Order},
{731452,{2018,6,21,8,33,53,700,25},-30,Pay point for order:11494,OrderTransaction,Order},
...}
...}
*/
</source>
</source>

Revision as of 02:40, 29 August 2018


User_getTransactionHistory

Get user transaction history

Syntax

User_getTransactionHistory(number userResourceId);

Arguments

number userResourceId

Return type

Array of transactions, ordered by their date. Each transaction contains: Id, Date, Amount, Description, Type of Transaction, Order_class

Example

User_getTransactionHistory (10768810);
/*
{
{134911,{2013,9,4,10,50,7,300,36},100,Tak for deltagelse i undersøgelse (CG0373),ManualTransaction,Empty},
{731452,{2018,6,21,8,33,53,700,25},-30,Pay point for order:11494,OrderTransaction,Order},
...}
*/