CA App Synthetic Monitor API 2023.3.24/2023.3.24 : ch_log

Retrieve message(s) from one account. Filter by specifying type or date range.

price: 1 api credit

<<back to index

parametervaluetypedefault / required*notes
nkeytoken *Session key or token. Automatically assigned (only if optional) or obtained via acct_login/acct_token call.  
acctstring Account e-mail. If left empty, then the request is on behalf of the account that is logged in (nkey).  
typeenum (email, sms, icq, fax, phone, group, script, page, msn, jabber, nabaztag, action, twitter, rss, push) Type of contact.  
addressstring (255) Address of the contact.  
formatenum (xml, csv, xls, tab)xml Output format for this call.  
reversebooleann Reverse order in output of this call.  
start_datedate Starting date, format YYYY-MM-DD.  
end_datedate End date, format YYYY-MM-DD.  
cursorunsigned int Return results relative to last cursor returned.  
startunsigned int0 Paginate: start with result with this offset - DEPRECATED.  
numunsigned int50 Number of results to return.  
callbackstring Callback function for JSONP style calls. When this parameter is given, the result will be JSON instead of XML.  
viewenum (xml, json)xml Specifies the desirable representation of the output (XML or JSON). HTTP Accept header can be used and has precedence.  


      <id> int </id>
      <type> enum (email, sms, icq, fax, phone, group, script, page, msn, jabber, nabaztag, action, twitter, rss, push) </type>
      <alerttype> string </alerttype>
      <address> string (255) </address>
      <detail> string </detail>
      <gw> string </gw>
      <status> int </status>
      <rid> unsigned int </rid>
      <severity> unsigned int </severity>
      <rootcause> string </rootcause>
      <sent> datetime </sent>
  <cursor> unsigned int </cursor>
(presence of output fields depends on input parameters)

Error codes:

1000authentication error
1001call syntax error
1002undefined name or id
1003account limit exceeded
1004database error
1005duplicate entry
1006upgrade account
1007not yours (anymore)
1008session expired
1009insufficient credits
1010messaging error
1011undefined result
1012cannot perform that operation
1013illegal parameter value
1014TOS restriction
1015unconfirmed address
1016contact helpdesk first
9999unsupported feature
1017value not allowed

<<back to index