question

ramingadimli avatar image
ramingadimli asked

Get player Invertory (v2) in Azure Functions

Hi, how can I access player inventory v2 in Azure Functions?

Server/GetUserInventory - works for Economy v1

Inventory/GetInventoryItems - works for Economy v2, but requires PlayerTitleEntityToken which I don't know how to get in Azure Functions.

Player Inventory
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
ramingadimli avatar image
ramingadimli answered

Found solution, Inventory/GetInventoryItems has Entity request parameter

{

 "Entity" :
 {
   "Id": "{
                {title_player_account_id}}",
   "Type": "title_player_account"
 },

 "Filter": "ContentType eq 'currency'"
}
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.