Method GetServiceAward
GetServiceAward(String)
Gets Halo Waypoint service award details.
Declaration
public System.Threading.Tasks.Task<Den.Dev.Grunt.Models.HaloApiResultContainer<Den.Dev.Grunt.Models.Waypoint.ServiceAward,Den.Dev.Grunt.Models.RawResponseContainer>> GetServiceAward (string slug);
Parameters
Type | Name | Description |
---|---|---|
System.String | slug | Service award slug. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<HaloApiResultContainer<ServiceAward,RawResponseContainer>> | If successful, returns an instance of ServiceAward. Otherwise, returns a null object and the error details. |
Examples
Here is an example response from the API, as snapshotted on 11/7/2022:
{
"id": 44859,
"imageUri": "https://wpassets.halowaypoint.com/wp-content/2022/08/Fracture_-Entrenched-Award.png",
"imageAlt": "",
"title": "Fracture: Entrenched",
"excerpt": "",
"slug": "hi-event-ritualeaglestrike"
}