1 January 2020

9 November 2016

6 October 2016

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).

CommandRequired ParametersRequired Corrade PermissionsExample
replytoinventoryoffergroup, password, actioninventory
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)
        ]
    )
);
ParameterPossible ValueRequired ParameterPossible ValueOptional ParameterPossible ValueDescription
actionacceptsessionThe inventory offer session UUID.folderThe 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.
createIf set to True, then the full path specified in folder will be created and the item placed under the created folder path.
declineDecline an inventory offer.
ignoreIgnore an inventory offer by neither accepting nor declining the inventory offer.
purgeDecline all tracked inventory offers.

Notes