Get Account Transaction Data (Second Life)

17 June 2016

  • Release 9.91 - added.
getaccounttransactionsdata (Commands)
TypeCorrade progressive command
Commandgetaccounttransactionsdata
DescriptionThe getaccounttransactionsdata command can be used to query Second Life transactions data as per the Linden Lab website account dashboard.
Permissionsinteract
Parametersgroup, password, secret, from, to
Last ChangesRelease 9.91 - added.

Be aware that by sending a firstname, lastname and secret you are revealing your account credentials to the machine that is running Corrade. On the other hand, Corrade only uses HTTPs encrypted requests such that once the data gets to Corrade it will be safely used to interact with the Second Life website. Nevertheless, be weary about using this command in case you are not the sole person with access to the Corrade machine and if you care about your account possibly being compromised.

The getaccounttransactionsdata command can be used to query Second Life transactions data as per the Linden Lab website account dashboard. Note that the command requires that Corrade is logged-in to Second Life since other makeshift grids do not have the same website as Second Life.

Command Required Parameters Required Corrade Permissions Example
getaccounttransactionsdata group, password, secret, from, to interact
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // Get all the transactions between 1st
            // of June 2016 and up to 16th of June
            // 2016 for the account that Corrade is
            // currently connected on and return the
            // type and transaction description.
            "command", "getaccounttransactionsdata",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            // The Second Life log-in password for
            // the current account that Corrade is
            // connecting on.
            "secret", "supa^secret",
            "from", "2016-06-01 00:00:00",
            "to", "2016-06-16 00:00:00",
            "data", wasListToCSV(
                [
                    "Type",
                    "Description"
                ]
            ),
            "callback", wasURLEscape(URL)
        ]
    )
);
Optional Parameter Possible Value Meaning
firstname The first name of an account. By sending a first name and a last name Corrade will instead query the account transaction data for that account instead of the current account that Corrade is connecting on.
lastname The last name of an account.

Structure

The data parameter can be set to any property in the Corrade Transaction structure.

/// <summary>
///     Second Life website transaction.
/// </summary>
[XmlRoot("transaction")]
public class Transaction
{
    [XmlElement("id")]
    public UUID ID { get; set; }
 
    [XmlElement("type")]
    public string Type { get; set; }
 
    [XmlElement("description")]
    public string Description { get; set; }
 
    [XmlIgnore]
    public DateTime Time { get; set; }
 
    [XmlElement("time")]
    public string Timestamp
    {
        get { return Time.ToString(Constants.LSL.DATE_TIME_STAMP); }
        set { Time = DateTime.Parse(value); }
    }
 
    [XmlElement("resident")]
    public string Resident { get; set; }
 
    [XmlElement("end_balance")]
    public uint EndBalance { get; set; }
}

secondlife/scripted_agents/corrade/api/progressive/commands/getaccounttransactionsdata.txt · Last modified: 2017/03/12 13:36 by Wizardry and Steamworks

Access website using Tor


For the copyright, license, warranty and privacy terms for the usage of this website please see the license and privacy pages.