Method EconomyGetMainStore
EconomyGetMainStore(String)
Gets the information about all available items in the main store.
Declaration
public System.Threading.Tasks.Task<Den.Dev.Grunt.Models.HaloApiResultContainer<Den.Dev.Grunt.Models.HaloInfinite.StoreItem,Den.Dev.Grunt.Models.RawResponseContainer>> EconomyGetMainStore (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 main store. Otherwise, returns null. |
Examples
Here is an example response from the API, as snapshotted on 6/13/2022:
{
"StoreId": "Main",
"StorefrontExpirationDate": {
"ISO8601Date": "2022-06-14T17:00:00Z"
},
"StorefrontDisplayPath": "StoreContent/Display/Storefront/Main-20220415-00.json",
"Offerings": [
{
"OfferingId": "20220328-04",
"OfferingDisplayPath": "StoreContent/Display/Offerings/20220328-04.json",
"OfferingExpirationDate": null,
"IncludedItems": [
{
"Amount": 1,
"ItemPath": "Inventory/Armor/Helmets/005-001-wlv-86a2c4f8.json",
"ItemType": "ArmorHelmet"
},
{
"Amount": 1,
"ItemPath": "Inventory/Armor/HelmetAttachments/004-001-wlv-897e3d18.json",
"ItemType": "ArmorHelmetAttachment"
},
{
"Amount": 1,
"ItemPath": "Inventory/Armor/Coatings/002-001-wlv-6fc265a6.json",
"ItemType": "ArmorCoating"
},
{
"Amount": 1,
"ItemPath": "Inventory/Armor/ChestAttachments/001-001-wlv-c09bcba8.json",
"ItemType": "ArmorChestAttachment"
},
{
"Amount": 1,
"ItemPath": "Inventory/Armor/HipAttachments/010-001-wlv-3cc71684.json",
"ItemType": "ArmorHipAttachment"
},
{
"Amount": 1,
"ItemPath": "Inventory/Armor/ShouldersLeft/008-001-wlv-715f355a.json",
"ItemType": "ArmorLeftShoulderPad"
},
{
"Amount": 1,
"ItemPath": "Inventory/Armor/ShouldersRight/009-001-wlv-715f355a.json",
"ItemType": "ArmorRightShoulderPad"
},
{
"Amount": 1,
"ItemPath": "Inventory/Armor/KneePads/006-001-wlv-e2ce01fc.json",
"ItemType": "ArmorKneePad"
},
{
"Amount": 1,
"ItemPath": "Inventory/Armor/Gloves/003-001-wlv-fbd530bd.json",
"ItemType": "ArmorGlove"
},
{
"Amount": 1,
"ItemPath": "Inventory/Spartan/Emblems/104-001-popculture-st-08ceb7ce.json",
"ItemType": "SpartanEmblem"
},
{
"Amount": 1,
"ItemPath": "Inventory/Armor/Emblems/013-001-08ceb7ce.json",
"ItemType": "ArmorEmblem"
},
{
"Amount": 1,
"ItemPath": "Inventory/Weapon/Emblems/205-201-08ceb7ce.json",
"ItemType": "WeaponEmblem"
},
{
"Amount": 1,
"ItemPath": "Inventory/Vehicle/Emblems/405-305-08ceb7ce.json",
"ItemType": "VehicleEmblem"
}
],
"Prices": [
{
"Cost": 1600,
"CurrencyPath": "Currency/Currencies/cR.json"
}
],
"IncludedCurrencies": [],
"IncludedRewardTracks": [],
"BoostPath": null,
"OperationXp": 0,
"EventXp": 0,
"MatchBoosts": null
},
{
"OfferingId": "20220224-10",
"OfferingDisplayPath": "StoreContent/Display/Offerings/20220224-10.json",
"OfferingExpirationDate": null,
"IncludedItems": [
{
"Amount": 1,
"ItemPath": "Inventory/Weapon/Coatings/203-202-olympus-da089355.json",
"ItemType": "WeaponCoating"
},
{
"Amount": 1,
"ItemPath": "Inventory/Weapon/Coatings/203-204-olympus-da089355.json",
"ItemType": "WeaponCoating"
},
{
"Amount": 1,
"ItemPath": "Inventory/Weapon/Coatings/203-205-olympus-da089355.json",
"ItemType": "WeaponCoating"
},
{
"Amount": 1,
"ItemPath": "Inventory/Weapon/Coatings/203-207-olympus-da089355.json",
"ItemType": "WeaponCoating"
},
{
"Amount": 1,
"ItemPath": "Inventory/Weapon/Coatings/203-206-olympus-da089355.json",
"ItemType": "WeaponCoating"
},
{
"Amount": 1,
"ItemPath": "Inventory/Weapon/Coatings/203-203-olympus-da089355.json",
"ItemType": "WeaponCoating"
},
{
"Amount": 1,
"ItemPath": "Inventory/Weapon/Coatings/203-201-olympus-da089355.json",
"ItemType": "WeaponCoating"
},
{
"Amount": 1,
"ItemPath": "Inventory/Weapon/Coatings/203-200-olympus-da089355.json",
"ItemType": "WeaponCoating"
},
{
"Amount": 1,
"ItemPath": "Inventory/Weapon/Emblems/205-201-97436360.json",
"ItemType": "WeaponEmblem"
},
{
"Amount": 1,
"ItemPath": "Inventory/Spartan/Emblems/104-001-lonewolves-fi-97436360.json",
"ItemType": "SpartanEmblem"
},
{
"Amount": 1,
"ItemPath": "Inventory/Armor/Emblems/013-001-97436360.json",
"ItemType": "ArmorEmblem"
},
{
"Amount": 1,
"ItemPath": "Inventory/Vehicle/Emblems/405-305-97436360.json",
"ItemType": "VehicleEmblem"
}
],
"Prices": [
{
"Cost": 400,
"CurrencyPath": "Currency/Currencies/cR.json"
}
],
"IncludedCurrencies": [],
"IncludedRewardTracks": [],
"BoostPath": null,
"OperationXp": 0,
"EventXp": 0,
"MatchBoosts": null
},
{
"OfferingId": "20220406-00",
"OfferingDisplayPath": "StoreContent/Display/Offerings/20220406-00.json",
"OfferingExpirationDate": null,
"IncludedItems": [
{
"Amount": 1,
"ItemPath": "Inventory/Armor/Coatings/002-001-olympus-ab9c37e8.json",
"ItemType": "ArmorCoating"
},
{
"Amount": 1,
"ItemPath": "Inventory/Spartan/Emblems/104-001-lonewolves-sh-12269220.json",
"ItemType": "SpartanEmblem"
},
{
"Amount": 1,
"ItemPath": "Inventory/Armor/Emblems/013-001-12269220.json",
"ItemType": "ArmorEmblem"
},
{
"Amount": 1,
"ItemPath": "Inventory/Weapon/Emblems/205-201-12269220.json",
"ItemType": "WeaponEmblem"
},
{
"Amount": 1,
"ItemPath": "Inventory/Vehicle/Emblems/405-305-12269220.json",
"ItemType": "VehicleEmblem"
}
],
"Prices": [
{
"Cost": 400,
"CurrencyPath": "Currency/Currencies/cR.json"
}
],
"IncludedCurrencies": [],
"IncludedRewardTracks": [],
"BoostPath": null,
"OperationXp": 0,
"EventXp": 0,
"MatchBoosts": null
},
{
"OfferingId": "20220325-01",
"OfferingDisplayPath": "StoreContent/Display/Offerings/20220325-01.json",
"OfferingExpirationDate": null,
"IncludedItems": [
{
"Amount": 1,
"ItemPath": "Inventory/Weapon/Charms/201-201-d5cd9792.json",
"ItemType": "WeaponCharm"
}
],
"Prices": [
{
"Cost": 200,
"CurrencyPath": "Currency/Currencies/cR.json"
}
],
"IncludedCurrencies": [],
"IncludedRewardTracks": [],
"BoostPath": null,
"OperationXp": 0,
"EventXp": 0,
"MatchBoosts": null
},
{
"OfferingId": "20210625-00",
"OfferingDisplayPath": "StoreContent/Display/Offerings/20210625-00.json",
"OfferingExpirationDate": null,
"IncludedItems": [],
"Prices": [
{
"Cost": 200,
"CurrencyPath": "Currency/Currencies/cR.json"
}
],
"IncludedCurrencies": [
{
"Amount": 2,
"CurrencyPath": "Currency/Currencies/xpboost.json"
},
{
"Amount": 2,
"CurrencyPath": "Currency/Currencies/rerollcurrency.json"
}
],
"IncludedRewardTracks": [],
"BoostPath": null,
"OperationXp": 0,
"EventXp": 0,
"MatchBoosts": null
}
]
}