Retrieves all piggyback tracking pixels currently associated with the specified placement.
Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/piggyback/placement/get.do
Retrieves all piggyback tracking pixels currently associated with the specified placement. The response JSON contains a 'placement_piggybacks' array with each piggyback's ID, type (BEACON or URL), code/URL value, status, and sampling configuration. The caller must have view permissions on the placement's parent site and the Piggyback Pixel Tracking permission. The list comes back whether the placement's piggybacks are switched on or off, as the console grid shows it; 'piggybacksEnabled' tells which - while it is false none of them fire.
Query Params
placementIdintegerrequired
The unique numeric identifier of the placement whose piggyback tracking pixels should be retrieved
using var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://YOUR-NETWORK-DOMAIN/rest-api/piggyback/placement/get.do?placementId=4001");
request.Headers.Add("X-Api-Key", "YOUR_API_KEY");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());