CallFire Solutions

Delete Broadcast Schedule

Follow

DELETE BROADCAST SCHEDULE

Deletes a BroadcastSchedule by id

This operation deletes the BroadcastSchedule associated with a Broadcast.

REQUEST PARAMETERS

ParameterDemo ValueDescriptionData Type
DeleteBroadcastSchedule   Delete BroadcastSchedule identified by unique ID object
Id Unique ID of resource long

EXAMPLE


using RestSharp;

namespace [your-namespace]
{
    public class [your-class]
    {
        public string DeleteBroadcastSchedule()
        {
            long scheduleId = 4; //Your Broadcast Id here

            var client = new RestClient("https://www.callfire.com/api/1.1/rest/");
            client.Authenticator = new HttpBasicAuthenticator("YourLoginId", "password");

            var request = new RestRequest(string.Format("broadcast/schedule/{0}", scheduleId), Method.DELETE);

            var response = client.Execute(request);
            string content = response.Content;
            return content;
        }
    }
}

The response code returned is:

204

Which means that the BroadcastSchedule has been deleted successfully.

Have more questions? Submit a request

Comments