Reply to an Inventory Offer

1 January 2020

  • C10 - added the create parameter.

9 November 2016

  • Release 9.143 - added ignore and purge to the list of possible actions.

6 October 2016

  • Release 9.133 - The command now can take a path instead of a name.
replytoinventoryoffer (Commands)
TypeCorrade progressive command
Commandreplytoinventoryoffer
DescriptionThe replytoinventoryoffer command can be used to reply to an inventory offer provided that the session UUID is known (for example, by installing the inventory notification using the notify command).
Permissionsinventory
Parametersgroup, password, action
Last ChangesRelease 9.143 - added ignore and purge to the list of possible actions.

The replytoinventoryoffer command can be used to reply to an inventory offer provided that the session UUID is known (for example, by installing the inventory notification using the notify command).

Command Required Parameters Required Corrade Permissions Example
replytoinventoryoffer group, password, action inventory
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // accept an inventory offer
            "command", "replytoinventoryoffer",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "action", "accept", // decline, ignore or purge
            // can be retrieved from the inventory notification
            "session", "41f8742f-0099-47d4-91b5-d5833500ac08",
            "callback", wasURLEscape(URL)
        ]
    )
);
Parameter Possible Value Required Parameter Possible Value Optional Parameter Possible Value Description
action accept session The inventory offer session UUID. folder The inventory UUID of a folder or a path to a folder where the inventory item should be stored. Accept an inventory offer and optionally places the asset in the specified folder instead of the default folder for the given asset type.
create If set to True, then the full path specified in folder will be created and the item placed under the created folder path.
decline Decline an inventory offer.
ignore Ignore an inventory offer by neither accepting nor declining the inventory offer.
purge Decline all tracked inventory offers.

Notes

  • The getinventoryoffers command can be used to retrieve the full list of pending inventory offers and to reply to them.

secondlife/scripted_agents/corrade/api/commands/replytoinventoryoffer.txt ยท Last modified: 2022/11/24 07:45 by 127.0.0.1

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


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