public string GetRendition(OAuthToken theToken, string strAccountID, string strVideoID, string strAssetID) { RestAPICall myCall = new RestAPICall(); myCall.APICallURL = String.Format("{0}/{1}/videos/{2}/assets/renditions/{3}", BaseURL, strAccountID, strVideoID, strAssetID); myCall.Token = theToken.Token; myCall.Method = Method.GET; return(myCall.Execute()); }
public string DeleteBeaconSet(string strAPIKey, string strBeaconSetID) { RestAPICall myCall = new RestAPICall(); myCall.APICallURL = String.Format("{0}/ssai/beaconset/{1}", BaseURL, strBeaconSetID); myCall.APIKey = strAPIKey; myCall.Method = Method.DELETE; return(myCall.Execute()); }
public string GetAdConfiguration(string strAPIKey, string strAppID) { RestAPICall myCall = new RestAPICall(); myCall.APICallURL = String.Format("{0}/ssai/application/{1}", BaseURL, strAppID); myCall.APIKey = strAPIKey; myCall.Method = Method.GET; return(myCall.Execute()); }
public string GetBeaconSets(string strAPIKey, string strAccountID) { RestAPICall myCall = new RestAPICall(); myCall.APICallURL = String.Format("{0}/ssai/beaconsets/{1}", BaseURL, strAccountID); myCall.APIKey = strAPIKey; myCall.Method = Method.GET; return(myCall.Execute()); }
public string GetBeaconSetsForUser(string strAPIKey) { RestAPICall myCall = new RestAPICall(); myCall.APICallURL = String.Format("{0}/ssai/beaconsets", BaseURL); myCall.APIKey = strAPIKey; myCall.Method = Method.GET; return(myCall.Execute()); }
public string GetSlateMediaSourceAssets(string strAPIKey, string strAccountID = "") { RestAPICall myCall = new RestAPICall(); myCall.APICallURL = String.Format("{0}/ssai/slates/{1}", BaseURL, strAccountID); myCall.APIKey = strAPIKey; myCall.Method = Method.GET; return(myCall.Execute()); }
public string DeleteSlateMediaSourceAsset(string strAPIKey, string strMSAID) { RestAPICall myCall = new RestAPICall(); myCall.APICallURL = String.Format("{0}/ssai/slates/{1}", BaseURL, strMSAID); myCall.APIKey = strAPIKey; myCall.Method = Method.DELETE; return(myCall.Execute()); }
public string ListChannelAffiliates(OAuthToken theToken, string strAccountID, string strChannelName) { RestAPICall myCall = new RestAPICall(); myCall.APICallURL = String.Format("{0}/{1}/channels/{2}/members", BaseURL, strAccountID, strChannelName); myCall.Token = theToken.Token; myCall.Method = Method.GET; return(myCall.Execute()); }
public string GetSubscription(OAuthToken theToken, string strAccountID, string strSubscriptionID) { RestAPICall myCall = new RestAPICall(); myCall.APICallURL = String.Format("{0}/{1}/subscriptions/{2}", BaseURL, strAccountID, strSubscriptionID); myCall.Token = theToken.Token; myCall.Method = Method.GET; return(myCall.Execute()); }
public string StopLiveJob(string strAPIKey, string strLiveJobID) { RestAPICall myCall = new RestAPICall(); myCall.APICallURL = String.Format("{0}/jobs/{1}/cancel", BaseURL, strLiveJobID); myCall.APIKey = strAPIKey; myCall.Method = Method.PUT; return(myCall.Execute()); }
public string GetLeads(OAuthToken theToken, string strAccountID) { RestAPICall myCall = new RestAPICall(); myCall.APICallURL = String.Format("{0}/{1}/leads", BaseURL, strAccountID); myCall.Token = theToken.Token; myCall.Method = Method.GET; return(myCall.Execute()); }
public string GetContract(OAuthToken theToken, string strAccountID, string strMasterAccountID) { RestAPICall myCall = new RestAPICall(); myCall.APICallURL = String.Format("{0}/{1}/contracts/{2}", BaseURL, strAccountID, strMasterAccountID); myCall.Token = theToken.Token; myCall.Method = Method.GET; return(myCall.Execute()); }
public string GetLiveJobDetails(string strAPIKey, string strLiveJobID) { RestAPICall myCall = new RestAPICall(); myCall.APICallURL = String.Format("{0}/jobs/{1}", BaseURL, strLiveJobID); myCall.APIKey = strAPIKey; myCall.Method = Method.GET; return(myCall.Execute()); }
public string ActivateSEPStream(string strAPIKey, string strLiveJobID) { RestAPICall myCall = new RestAPICall(); myCall.APICallURL = String.Format("{0}/jobs/{1}/activate", BaseURL, strLiveJobID); myCall.APIKey = strAPIKey; myCall.Method = Method.PUT; return(myCall.Execute()); }
public string GetLiveJobs(string strAPIKey) { RestAPICall myCall = new RestAPICall(); myCall.APICallURL = String.Format("{0}/ui/jobs/live", BaseURL); myCall.APIKey = strAPIKey; myCall.Method = Method.GET; return(myCall.Execute()); }
public string GetSinglePlayer(OAuthToken theToken, string strAccountID, string strPlayerID) { RestAPICall myCall = new RestAPICall(); myCall.APICallURL = String.Format("{0}/{1}/players/{2}", BaseURL, strAccountID, strPlayerID); myCall.Token = theToken.Token; myCall.Method = Method.GET; return(myCall.Execute()); }
public string GetStatusOfIngestJob(OAuthToken theToken, string strAccountID, string strVideoID, string strJobID) { RestAPICall myCall = new RestAPICall(); myCall.APICallURL = String.Format("{0}/{1}/videos/{2}/ingest_jobs/{3}", BaseURL, strAccountID, strVideoID, strJobID); myCall.Token = theToken.Token; myCall.Method = Method.GET; return(myCall.Execute()); }
public string DeleteVideo(OAuthToken theToken, string strAccountID, string strVideoID) { RestAPICall myCall = new RestAPICall(); myCall.APICallURL = String.Format("{0}/{1}/videos/{2}", BaseURL, strAccountID, strVideoID); myCall.Token = theToken.Token; myCall.Method = Method.DELETE; return(myCall.Execute()); }
public string RemoveAffiliate(OAuthToken theToken, string strAccountID, string strChannelName, string strAffiliateAccountID) { RestAPICall myCall = new RestAPICall(); myCall.APICallURL = String.Format("{0}/{1}/channels/{2}/members/{3}", BaseURL, strAccountID, strChannelName, strAffiliateAccountID); myCall.Token = theToken.Token; myCall.Method = Method.DELETE; return(myCall.Execute()); }
public string GetDigitalMasterInfo(OAuthToken theToken, string strAccountID, string strVideoID) { RestAPICall myCall = new RestAPICall(); myCall.APICallURL = String.Format("{0}/{1}/videos/{2}/digital_master", BaseURL, strAccountID, strVideoID); myCall.Token = theToken.Token; myCall.Method = Method.GET; return(myCall.Execute()); }
public string RemoveVideoFromAllPlaylists(OAuthToken theToken, string strAccountID, string strVideoID) { RestAPICall myCall = new RestAPICall(); myCall.APICallURL = String.Format("{0}/{1}/videos/{2}/references", BaseURL, strAccountID, strVideoID); myCall.Token = theToken.Token; myCall.Method = Method.DELETE; return(myCall.Execute()); }
public string GetVideos(OAuthToken theToken, string strAccountID, string strQueryString = "") { RestAPICall myCall = new RestAPICall(); myCall.APICallURL = String.Format("{0}/{1}/videos?{2}", BaseURL, strAccountID, strQueryString); myCall.Token = theToken.Token; myCall.Method = Method.GET; return(myCall.Execute()); }
public string GetVideoImages(OAuthToken theToken, string strAccountID, string strVideoID) { RestAPICall myCall = new RestAPICall(); myCall.APICallURL = String.Format("{0}/{1}/videos/{2}/images", BaseURL, strAccountID, strVideoID); myCall.Token = theToken.Token; myCall.Method = Method.GET; return(myCall.Execute()); }
/// <summary> /// Executes the API query call. /// </summary> /// <returns>The API response as JSON.</returns> /// <param name="strAPIQuery">String API Query.</param> private string ExecuteCall(string strAPIQuery) { RestAPICall myCall = new RestAPICall(); myCall.APICallURL = strAPIQuery; myCall.Method = Method.GET; myCall.Token = Token.Token; return(myCall.Execute()); }
public string RemoveVideoFromFolder(OAuthToken theToken, string strAccountID, string strFolderID, string strVideoID) { RestAPICall myCall = new RestAPICall(); myCall.APICallURL = String.Format("{0}/{1}/folders/{2}/videos/{3}", BaseURL, strAccountID, strFolderID, strVideoID); myCall.Method = Method.DELETE; myCall.Token = theToken.Token; return(myCall.Execute()); }
public string UpdateVideo(OAuthToken theToken, string strAccountID, string strVideoID, string strJsonBody) { RestAPICall myCall = new RestAPICall(); myCall.APICallURL = String.Format("{0}/{1}/videos/{2}", BaseURL, strAccountID, strVideoID); myCall.Token = theToken.Token; myCall.JSONBody = strJsonBody; myCall.Method = Method.PATCH; return(myCall.Execute()); }
public string CreateLiveJob(string strAPIKey, string strJsonBody) { RestAPICall myCall = new RestAPICall(); myCall.APICallURL = String.Format("{0}/jobs", BaseURL); myCall.APIKey = strAPIKey; myCall.JSONBody = strJsonBody; myCall.Method = Method.POST; return(myCall.Execute()); }
public string UpdateFolderName(OAuthToken theToken, string strAccountID, string strFolderID, string strJSONBody) { RestAPICall myCall = new RestAPICall(); myCall.APICallURL = String.Format("{0}/{1}/folders/{2}", BaseURL, strAccountID, strFolderID); myCall.Method = Method.PATCH; myCall.Token = theToken.Token; myCall.JSONBody = strJSONBody; return(myCall.Execute()); }
public string CreatePlayer(OAuthToken theToken, string strAccountID, string strJSONBody) { RestAPICall myCall = new RestAPICall(); myCall.APICallURL = String.Format("{0}/{1}/players", BaseURL, strAccountID); myCall.Method = Method.POST; myCall.Token = theToken.Token; myCall.JSONBody = strJSONBody; return(myCall.Execute()); }
public string InsertID3TimedMetadata(string strAPIKey, string strLiveJobID, string strJsonBody) { RestAPICall myCall = new RestAPICall(); myCall.APICallURL = String.Format("{0}/jobs/{1}/id3tag", BaseURL, strLiveJobID); myCall.APIKey = strAPIKey; myCall.JSONBody = strJsonBody; myCall.Method = Method.POST; return(myCall.Execute()); }