Method EconomyGetXpGrantsStore
EconomyGetXpGrantsStore(String)
Gets information about items on sale in the XP grants store.
Declaration
public System.Threading.Tasks.Task<Den.Dev.Grunt.Models.HaloApiResultContainer<Den.Dev.Grunt.Models.HaloInfinite.StoreItem,Den.Dev.Grunt.Models.RawResponseContainer>> EconomyGetXpGrantsStore (string player);
Parameters
Type | Name | Description |
---|---|---|
System.String | player | The unique player XUID, in the format "xuid(XUID_VALUE)". |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<HaloApiResultContainer<StoreItem,RawResponseContainer>> | If successful, returns an instance of StoreItem that contains information about items in the store. Otherwise, returns null. |
Examples
Here is an example response from the API, as snapshotted on 6/14/2022:
{
"StoreId": "XpGrants",
"StorefrontExpirationDate": {
"ISO8601Date": "2031-06-23T17:00:00Z"
},
"StorefrontDisplayPath": "StoreContent/Display/Storefront/XpGrants-20210623-00.json",
"Offerings": [
{
"OfferingId": "20210623-01",
"OfferingDisplayPath": "StoreContent/Display/Offerings/20210623-01.json",
"OfferingExpirationDate": null,
"IncludedItems": [],
"Prices": [
{
"Cost": 1,
"CurrencyPath": "Currency/Currencies/xpgrant.json"
}
],
"IncludedCurrencies": [],
"IncludedRewardTracks": [],
"BoostPath": null,
"OperationXp": 250,
"EventXp": 0,
"MatchBoosts": null
},
{
"OfferingId": "20210623-03",
"OfferingDisplayPath": "StoreContent/Display/Offerings/20210623-03.json",
"OfferingExpirationDate": null,
"IncludedItems": [],
"Prices": [
{
"Cost": 10,
"CurrencyPath": "Currency/Currencies/xpgrant.json"
}
],
"IncludedCurrencies": [],
"IncludedRewardTracks": [],
"BoostPath": null,
"OperationXp": 2500,
"EventXp": 0,
"MatchBoosts": null
},
{
"OfferingId": "20210623-05",
"OfferingDisplayPath": "StoreContent/Display/Offerings/20210623-05.json",
"OfferingExpirationDate": null,
"IncludedItems": [],
"Prices": [
{
"Cost": 100,
"CurrencyPath": "Currency/Currencies/xpgrant.json"
}
],
"IncludedCurrencies": [],
"IncludedRewardTracks": [],
"BoostPath": null,
"OperationXp": 25000,
"EventXp": 0,
"MatchBoosts": null
}
]
}