Adds one or more VAST progress tracking events to the specified entity, each defining a time offset and an associated action.
Reference
PUT https://YOUR-NETWORK-DOMAIN/rest-api/placement/{id}/vast/progress-events.do
Adds one or more VAST progress tracking events to the specified entity, each defining a time offset and an associated action. The request body is a JSON array of objects with 'time' (in HH:MM:SS.mmm format or percentage like '25%') and 'actionId' (the action to trigger at that time). Each actionId must reference a valid existing action and must not be duplicated within the same request. An event for an actionId the entity already has is not added again: that event gets the new time, and the answer lists such actionIds in 'replacedActionIds'. The caller must have update permissions on the entity. Returns a JSON object with a 'success' boolean.
Path Params
idintegerrequired
The unique numeric identifier of the entity to add progress events to
5001
Body
A JSON body. An example, built from the field definitions:
using var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("PUT"), "https://YOUR-NETWORK-DOMAIN/rest-api/placement/5001/vast/progress-events.do");
request.Headers.Add("X-Api-Key", "YOUR_API_KEY");
request.Content = new StringContent("[{\"id\":\"789\",\"time\":\"00:00:15\",\"actionId\":\"42\"}]", Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());