Method EconomyGetOperationsStore
EconomyGetOperationsStore(String)
Gets information about the operations store.
Declaration
public System.Threading.Tasks.Task<Den.Dev.Grunt.Models.HaloApiResultContainer<Den.Dev.Grunt.Models.HaloInfinite.StoreItem,Den.Dev.Grunt.Models.RawResponseContainer>> EconomyGetOperationsStore (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 available in the operations store. Otherwise, returns null. |
Examples
Here is an example response from the API, as snapshotted on 6/13/2022:
{
"StoreId": "Operations",
"StorefrontExpirationDate": {
"ISO8601Date": "2031-06-23T17:00:00Z"
},
"StorefrontDisplayPath": "StoreContent/Display/Storefront/Operations-20210623-01.json",
"Offerings": [
{
"OfferingId": "20210623-10",
"OfferingDisplayPath": "StoreContent/Display/Offerings/20210623-10.json",
"OfferingExpirationDate": null,
"IncludedItems": [],
"Prices": [
{
"Cost": 1000,
"CurrencyPath": "Currency/Currencies/cR.json"
}
],
"IncludedCurrencies": [],
"IncludedRewardTracks": [
"RewardTracks/Operations/battlepass-noblesacrifice.json"
],
"BoostPath": null,
"OperationXp": 0,
"EventXp": 0,
"MatchBoosts": null
},
{
"OfferingId": "20210623-12",
"OfferingDisplayPath": "StoreContent/Display/Offerings/20210623-12.json",
"OfferingExpirationDate": null,
"IncludedItems": [],
"Prices": [
{
"Cost": 2800,
"CurrencyPath": "Currency/Currencies/cR.json"
}
],
"IncludedCurrencies": [
{
"Amount": 100,
"CurrencyPath": "Currency/Currencies/xpgrant.json"
}
],
"IncludedRewardTracks": [
"RewardTracks/Operations/battlepass-noblesacrifice.json"
],
"BoostPath": null,
"OperationXp": 0,
"EventXp": 0,
"MatchBoosts": null
},
{
"OfferingId": "Season2BPTest",
"OfferingDisplayPath": "StoreContent/Display/Offerings/Season2BPTestDisplay.json",
"OfferingExpirationDate": null,
"IncludedItems": [],
"Prices": [
{
"Cost": 1000,
"CurrencyPath": "Currency/Currencies/cR.json"
}
],
"IncludedCurrencies": [],
"IncludedRewardTracks": [
"RewardTracks/Operations/battlepass-lonewolves.json"
],
"BoostPath": null,
"OperationXp": 0,
"EventXp": 0,
"MatchBoosts": null
},
{
"OfferingId": "20220310-00",
"OfferingDisplayPath": "StoreContent/Display/Offerings/20220310-00.json",
"OfferingExpirationDate": null,
"IncludedItems": [],
"Prices": [
{
"Cost": 2800,
"CurrencyPath": "Currency/Currencies/cR.json"
}
],
"IncludedCurrencies": [
{
"Amount": 100,
"CurrencyPath": "Currency/Currencies/xpgrant.json"
}
],
"IncludedRewardTracks": [
"RewardTracks/Operations/battlepass-lonewolves.json"
],
"BoostPath": null,
"OperationXp": 0,
"EventXp": 0,
"MatchBoosts": null
}
]
}