REST Email Marketing API DocumentationUTILITY - CheckSystem
Check the system for warning signs of problems. This function is designed to give a few key metrics on the system without causing much
load on the database to perform these checks. In order to minimize the impact on the database for running this API call, the results are based off the
last 1,000,000 mail queue sending records. In some unusual cases this might not represent the current activity of the system, but should be a good metric
in most circumstances. HTTP VERBGet URL/API/Rest/Utility/CheckSystem ARGUMENTS(none) Required permission(none) ERRORS
Database error RETURNSA data structure with the following fields:
{"delayedMailQueueRecords":0, "lastMailingOpen":null, "lastDocumentOpen":null, "lastMailingClick":"2019-01-06T06:54:00", "lastDocumentClick":null, "maxLicensedRecipients":150000, "currentRecipientCount":135452, "dbResponsiveness":143, "isLicenseExpired":false} EXAMPLERun CheckSystem. |
string url = "http://example.com/api/rest/Utility/CheckSystem?accountName=acme&login=ApiUser"; try { System.Net.HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); request.Headers.Add("Password", "34teh6i6j565ydw4h"); using (System.Net.WebResponse response = request.GetResponse()) using (Stream responseStream = response.GetResponseStream()) using (StreamReader reader = new StreamReader(responseStream, Encoding.UTF8)) System.Console.WriteLine(reader.ReadToEnd()); } catch (System.Net.WebException ex) { System.Diagnostics.Debug.Fail(ex.Message); }
# encoding: utf-8 require 'rest-client' require 'json' url = 'http://www.example.com/api/rest/Utility/CheckSystem?accountName=acme&login=ApiUser' response = RestClient.get(url, "", {:Password => "sfhdf6df5fdy"}) puts response
import requests url = "http://www.example.com/api/rest/Utility/CheckSystem?accountName=acme&login=ApiUser"; headers = {'password':'sfhdf6df5fdy'} resp = requests.get(url, headers=headers) if resp.status_code == 200: print resp.text
http://www.example.com/API/Rest/Utility/CheckSystem/?AccountName=acme&login=ApiUser