1 January 2020
create
parameter.9 November 2016
ignore
and purge
to the list of possible actions.6 October 2016
replytoinventoryoffer (Commands) | |
---|---|
Type | Corrade progressive command |
Command | replytoinventoryoffer |
Description | 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). |
Permissions | inventory |
Parameters | group , password , action |
Last Changes | Release 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. |
getinventoryoffers
command can be used to retrieve the full list of pending inventory offers and to reply to them.