Returns the list of placement types that can be assigned to a default label.
Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/label/defaultPlacementTypes.do
Returns the list of placement types that can be assigned to a default label. The response is a JSON array of key-value objects with 'key' (numeric ID) and 'value' (human-readable name) for each supported type: SITE_PLACEMENT, NON_STANDARD_SITE_PLACEMENT, and APPLICATION_PLACEMENT. Use these IDs in the 'defaultLabelPlacementTypes' field when creating or updating labels.
using var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://YOUR-NETWORK-DOMAIN/rest-api/label/defaultPlacementTypes.do");
request.Headers.Add("X-Api-Key", "YOUR_API_KEY");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());