JavaScript is required to use Bungie.net

Group Avatar

BungieNetPlatform

"Updates, discussions, and documentation of the BungieNetPlatform API."

Request Join
originally posted in:BungieNetPlatform
Edited by lowlines: 2/27/2015 2:38:21 AM
4

TransferItem API (Reference)

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

Posting in language:

 

Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • Hopefully this will inspire other people with more resources than me at their disposal... [url]https://www.dropbox.com/s/68i6r8qvnnmkrug/destiny_manager.png[/url] It looks like there's a throttle on the TransferItem API, as I was wondering why sometimes when I was testing it, it was failing so I checked my logs and...Whoops... [quote]ThrottleLimitExceededMomentarily: Patience is a virtue! Please wait a moment before performing this action again.[/quote] The behaviour of multiple stacks of the same item is a bit quirky (which happens in the game too), as it will sometimes grab a handful from the larger stack even though you choose to move the entire smaller stack. It would be nice if there was a way to detect when this happens as opposed to having to refresh the entire inventory (on my tests it takes up to 4-5 seconds to load each character inventory/vault). A lot of my PHP requests also seem to take a fair amount of time compared to how zippy it is on the official website :/

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

    16 Replies
    • Edited by lowlines: 2/27/2015 7:09:45 PM
      [edit] Sorry double post due to a 503 Error when I hit submit.

      Posting in language:

       

      Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

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

      Posting in language:

       

      Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

    • Do we know if this works while playing in-game?

      Posting in language:

       

      Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

      1 Reply
      You are not allowed to view this content.
      ;
      preload icon
      preload icon
      preload icon