Method HIUGCReportAnAsset
HIUGCReportAnAsset(String, String, String, AssetReport)
Reports an asset.
Declaration
public System.Threading.Tasks.Task<Den.Dev.Grunt.Models.HaloApiResultContainer<Den.Dev.Grunt.Models.HaloInfinite.AssetReport,Den.Dev.Grunt.Models.RawResponseContainer>> HIUGCReportAnAsset (string player, string assetType, string assetId, Den.Dev.Grunt.Models.HaloInfinite.AssetReport report);
Parameters
Type | Name | Description |
---|---|---|
System.String | player | The unique player XUID, in the format "xuid(XUID_VALUE)". |
System.String | assetType | Type of asset to check. Example value is "UgcGameVariants". |
System.String | assetId | Unique ID for the asset. Example value is "f96f57e2-9f15-45c5-83ac-5775a48d2ba8" for "Attrition-Default-UGC". |
AssetReport | report | Instance of AssetReport containing the report for the asset. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<HaloApiResultContainer<AssetReport,RawResponseContainer>> | If successful, returns an instance of AssetReport containing the report information. Otherwise, returns null. |
Examples
Here is an example response from the API, as snapshotted on 7/21/2022:
{
"Links": {},
"Name": "",
"Description": "",
"AssetId": "f96f57e2-9f15-45c5-83ac-5775a48d2ba8",
"AssetVersionId": null,
"CustomData": {
"ReportText": ""
},
"VersionRatings": null,
"AssetKind": 6
}