The getmaintenancescheduleinfo.do call requests the upcoming Veracode Platform maintenance schedule. Plan to pause scheduled API activity during the downtime to avoid automation failures.
Resource URL
https://analysiscenter.veracode.com/api/3.0/getmaintenancescheduleinfo.doPermissions
An API service account or user account.
Parameters
This call takes no parameters.
HTTPie Example
Examples use the HTTPie command-line tool. See Using HTTPie with the Python Authentication Library.
http --auth-type=veracode_hmac -o maintenancescheduleinfo.xml "https://analysiscenter.veracode.com/api/3.0/getmaintenancescheduleinfo.do"
HTTPie Results
The getmaintenancescheduleinfo.do call returns the maintenancescheduleinfo XML document, which references the maintenancescheduleinfo.xsd schema file. You can use the XSD schema file to validate the XML data. See the maintenancescheduleinfo.xsd schema documentation.
If the date in the XML return is in the past, Veracode has not yet scheduled the next maintenance window.
<?xml version="1.0" encoding="UTF-8"?> <maintenancescheduleinfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://analysiscenter.veracode.com/schema/3.0/maintenancescheduleinfo" xsi:schemaLocation="https://analysiscenter.veracode.com/schema/3.0/maintenancescheduleinfo https://analysiscenter.veracode.com/resource/3.0/maintenancescheduleinfo.xsd"> <maintenanceschedule> <downtime_start>2019-08-28T16:44:42-04:00</downtime_start> <downtime_end>2019-08-28T16:44:42-04:00</downtime_end> <title>Scheduled Maintenance Notification</title> <description>The Veracode service will be unavailable due to maintenance.
We apologize for any inconvenience caused during this period.
 Please contact your primary services manager or Veracode Support (<a href="mailto:support@veracode.com"> support@veracode.com</a>) if you have any questions.</description> </maintenanceschedule> </maintenancescheduleinfo>