question

Mr Sham avatar image
Mr Sham asked

Result not similar if using Postman vs Playfab Unity SDK

I am using postman to test playfab api. I just add new bundle and items in economy v2 catalog.

{ "Search": "", "Filter": "ContentType eq 'Point of Interest'", "OrderBy": "lastModifiedDate asc", "Count": 0, "ContinuationToken": "" }

Using postman with above, and I will get all the items including newly added.

but in unity, I only receive 1 item.

 public void PullData()
 {
     PlayFabEconomyAPI.SearchItems(new SearchItemsRequest
         {
             Search = "",
             Filter = "ContentType eq 'Point of Interest'",
             OrderBy = "lastModifiedDate asc",
             ContinuationToken = "",
             Count = 50
         },
         result =>
         {
             Debug.Log("working");
             Debug.Log(result.ToJson());
             Debug.Log(result.Items.Count);
             foreach (var item in result.Items)
             {
                 Debug.Log(item.ToJson());
                 Debug.Log("===============");
                    
             }

             test = result.ContinuationToken;
         },
         error =>
         {
             Debug.Log(error);
         });
 }
apis
1 comment
10 |1200

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

Rick Chen avatar image Rick Chen ♦ commented ·

Did you try changing the filter condition, are they return the different result all the time?

0 Likes 0 ·

0 Answers

·

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.