Submits the specified banners for approval review by changing their status to PENDING.
Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/banners/sendToApprove.do
Submits the specified banners for approval review by changing their status to PENDING. Accepts an array of banner IDs; an id that is no banner, or a deleted one, is refused with 400 and nothing changes. The response is the JSON array of the ids whose status changed: only banners that pass moderation validation are transitioned.
using var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("POST"), "https://YOUR-NETWORK-DOMAIN/rest-api/banners/sendToApprove.do");
request.Headers.Add("X-Api-Key", "YOUR_API_KEY");
request.Content = new FormUrlEncodedContent(new Dictionary<string, string> { ["bannerIds"] = "3001" });
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());