originally posted in:BungieNetPlatform
View Entire Topic
So there's a great new API "/Platform/Destiny/TransferItem/" which takes the following values.
{
characterId: "2305843009221011538",
itemId: "0", // itemInstanceId for weapons and armour, zero for everything else
itemReferenceHash: "2904517731", // itemHash
membershipType: "2",
stackSize: 1, // specify how many you want to transfer, 1 for weapons and armour
transferToVault: false, // true to send to the vault, and false to pull from it
}
There is also a new variable on items called "transferStatus" with the following values I have so far seen:
0 = Can be transferred
1 = Is Equipped, so can't be transferred
2 = Not Transferable (aka Bounties/Mission Items etc)
3 = Equipped Sub Class? Not sure what's the purpose of this one...
[edit]
There's also a "location" variable on items you can use to determine where an item is currently sitting: 1 is on a character, 2 is in the vault.
I am really looking forward to seeing third parties make use of this one :D
English
#Destiny
-
Also, the /Inventory/{itemInstanceId}/ endpoint now returns items from the vault. It seems like items in the vault will appear no matter which characterId is queried.