Skip Primary Navigation
U.S. flag

An official website of the United States government

Developer Center Status History API

Overview

The status history API is formatted similarly to the current status API. The main difference is that whereas the current status API returns only one opearting status, the status history API returns an archive of operating status records.

xml

URI

The endpoint for this API is /xml/operatingstatushistory.xml.

Arguments

The xml operating status history API supports the following optional arguments:

markup

Returns records with html markup. Defaults to off.

Valid values: on, off

startrow

Selects the starting record to output. 0 is the most recent.

Valid values: 0 to 5000

count

Returns a specified number of records.

Valid values: 1 to 5000

Sample Request

To request the 100 most recent operating status records:

/xml/operatingstatushistory.xml?count=100

Attributes

The response code contains the following xml attributes:

Current Status, Id, StatusTitle, Location, OperatingStatus, StatusWebPage, ShortStatusMessage, LongStatusMessage, ExtendedInformation, DateStatusPosted, CurrentDate, DateStatusComplete, AppliesTo, Icon, StatusType, and Url.

Sample Response

The code below shows the default status history xml response:

<ArrayOfCurrentStatus xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<CurrentStatus>

<Id>481</Id>

<StatusTitle>Federal Government Operating Status in the Washington, DC, Area </StatusTitle>

<Location>Washington, DC, Area</Location>

<OperatingStatus>Open - 2 hours Delayed Arrival - With Option for Unscheduled Leave or Unscheduled Telework </OperatingStatus>

<StatusWebPage>/policy-data-oversight/snow-dismissal-procedures/current-status/ </StatusWebPage>

<ShortStatusMessage>Federal agencies in the Washington, DC, area are OPEN under 2 hours DELAYED ARRIVAL and employees have the OPTION FOR UNSCHEDULED LEAVE OR UNSCHEDULED TELEWORK. Employees should plan to arrive for work no more than 2 hours later than they would be expected to arrive. </ShortStatusMessage>

<LongStatusMessage>Federal agencies in the Washington, DC, area are OPEN under 2 hours DELAYED ARRIVAL and employees have the OPTION FOR UNSCHEDULED LEAVE OR UNSCHEDULED TELEWORK. Employees should plan to arrive for work no more than 2 hours later than they would be expected to arrive. Non-Emergency Employees who report to the office will be granted excused absence (administrative leave) for up to 2 hours past their expected arrival time. In accordance with their agency's policies and procedures, subject to any applicable collective bargaining requirements, non-emergency employees may notify their supervisors of their intent to use: earned annual leave, compensatory time off, credit hours, or sick leave, as appropriate; leave without pay; their flexible work schedule day off or rearrange their work hours under flexible work schedules; or unscheduled telework (if telework-ready). (Employees who request unscheduled leave should be charged leave for the entire workday.) Telework-Ready Employees who are regularly scheduled to perform telework or who notify their supervisor of their intention to perform unscheduled telework must be prepared to telework for the entire workday, or take unscheduled leave, or a combination of both, for the entire workday in accordance with their agency's policies and procedures, subject to any applicable collective bargaining requirements. Pre-approved Leave. Employees on pre-approved leave for the entire workday or employees who requested unscheduled leave for the entire workday should be charged leave for the entire day. Emergency Employees are expected to report to their worksite on time unless otherwise directed by their agencies. </LongStatusMessage>

<ExtendedInformation>Non-Emergency Employees who report to the office will be granted excused absence (administrative leave) for up to 2 hours past their expected arrival time. In accordance with their agency's policies and procedures, subject to any applicable collective bargaining requirements, non-emergency employees may notify their supervisors of their intent to use: earned annual leave, compensatory time off, credit hours, or sick leave, as appropriate; leave without pay; their flexible work schedule day off or rearrange their work hours under flexible work schedules; or unscheduled telework (if telework-ready). (Employees who request unscheduled leave should be charged leave for the entire workday.) Telework-Ready Employees who are regularly scheduled to perform telework or who notify their supervisor of their intention to perform unscheduled telework must be prepared to telework for the entire workday, or take unscheduled leave, or a combination of both, for the entire workday in accordance with their agency's policies and procedures, subject to any applicable collective bargaining requirements. Pre-approved Leave. Employees on pre-approved leave for the entire workday or employees who requested unscheduled leave for the entire workday should be charged leave for the entire day. Emergency Employees are expected to report to their worksite on time unless otherwise directed by their agencies. </ExtendedInformation>

<DateStatusPosted>2013-04-03T09:00:00</DateStatusPosted>

<CurrentDate>2013-05-10T11:06:10.9772251-04:00</CurrentDate>

<DateStatusComplete>2013-04-03T09:40:00</DateStatusComplete>

<AppliesTo>April 3, 2013</AppliesTo>

<Icon>Alert</Icon>

<StatusType>Open - X hour(s) Delayed Arrival - With Option for Unscheduled Leave or Unscheduled Telework </StatusType>

<StatusTypeGuid>86cc1e55-aa95-4599-b3bb-1a001b58f861</StatusTypeGuid>

<Url>/policy-data-oversight/snow-dismissal-procedures/status-archives/13/4/3/Open---2-hours-Delayed-Arrival---With-Option-for-Unscheduled-Leave-or-Unscheduled-Telework_481/ </Url>

</CurrentStatus>

...

</ArrayOfCurrentStatus>

Back to Top

json

URI

The endpoint for this API is /json/operatingstatushistory.json.

Arguments

The json operating status history API supports the following optional arguments:

callback

Returns a string of records wrapped in a placeholder method().

Valid values: string

markup

Returns records with html markup. Defaults to off.

Valid values: on, off

startrow

Selects the starting record to output. 0 is the most recent.

Valid values: 0 to 5000

count

Returns a specified number of records.

Valid values: 1 to 5000

Sample Request

To request the 100 most recent operating status records:

/json/operatingstatushistory.json?count=100

Name/Value Pairs

ID, Title, Location, StatusSummary, StatusWebPage, ShortStatusMessage, LongStatusMessage, DateStatusPosted, CurrentDate, DateStatusComplete, AppliesTo, Icon, StatusType, StatusTypeGuid, and Url.

Sample Response

The code below shows the default status history json response:

[{"Id":481,"

"Title":"Federal Government Operating Status in the Washington, DC, Area",

"Location":"Washington, DC, Area",

"StatusSummary":"Open - 2 hours Delayed Arrival - With Option for Unscheduled Leave or Unscheduled Telework",

"StatusWebPage":"/policy-data-oversight/snow-dismissal-procedures/current-status/",

"ShortStatusMessage":"Federal agencies in the Washington, DC, area are OPEN under 2 hours DELAYED ARRIVAL and employees have the OPTION FOR UNSCHEDULED LEAVE OR UNSCHEDULED TELEWORK. Employees should plan to arrive for work no more than 2 hours later than they would be expected to arrive.",

"LongStatusMessage":"Federal agencies in the Washington, DC, area are OPEN under 2 hours DELAYED ARRIVAL and employees have the OPTION FOR UNSCHEDULED LEAVE OR UNSCHEDULED TELEWORK. Employees should plan to arrive for work no more than 2 hours later than they would be expected to arrive.\r\n Non-Emergency Employees who report to the office will be granted excused absence (administrative leave) for up to 2 hours past their expected arrival time. In accordance with their agency\u0027s policies and procedures, subject to any applicable collective bargaining requirements, non-emergency employees may notify their supervisors of their intent to use:\t\r\n\t\r\n\t\tearned annual leave, compensatory time off, credit hours, or sick leave, as appropriate;\r\n\t\tleave without pay;\r\n\t\ttheir flexible work schedule day off or rearrange their work hours under flexible work schedules; or\r\n\t\tunscheduled telework (if telework-ready).\r\n\t\r\n\t(Employees who request unscheduled leave should be charged leave for the entire workday.)\r\n\tTelework-Ready Employees who are regularly scheduled to perform telework or who notify their supervisor of their intention to perform unscheduled telework must be prepared to telework for the entire workday, or take unscheduled leave, or a combination of both, for the entire workday in accordance with their agency\u0027s policies and procedures, subject to any applicable collective bargaining requirements.\r\n\tPre-approved Leave. Employees on pre-approved leave for the entire workday or employees who requested unscheduled leave for the entire workday should be charged leave for the entire day.\r\n\tEmergency Employees are expected to report to their worksite on time unless otherwise directed by their agencies.",

"ExtendedInformation":" Non-Emergency Employees who report to the office will be granted excused absence (administrative leave) for up to 2 hours past their expected arrival time. In accordance with their agency\u0027s policies and procedures, subject to any applicable collective bargaining requirements, non-emergency employees may notify their supervisors of their intent to use:\t\r\n\t\r\n\t\tearned annual leave, compensatory time off, credit hours, or sick leave, as appropriate;\r\n\t\tleave without pay;\r\n\t\ttheir flexible work schedule day off or rearrange their work hours under flexible work schedules; or\r\n\t\tunscheduled telework (if telework-ready).\r\n\t\r\n\t(Employees who request unscheduled leave should be charged leave for the entire workday.)\r\n\tTelework-Ready Employees who are regularly scheduled to perform telework or who notify their supervisor of their intention to perform unscheduled telework must be prepared to telework for the entire workday, or take unscheduled leave, or a combination of both, for the entire workday in accordance with their agency\u0027s policies and procedures, subject to any applicable collective bargaining requirements.\r\n\tPre-approved Leave. Employees on pre-approved leave for the entire workday or employees who requested unscheduled leave for the entire workday should be charged leave for the entire day.\r\n\tEmergency Employees are expected to report to their worksite on time unless otherwise directed by their agencies.",

"DateStatusPosted":"\/Date(1364994000000)\/",

"CurrentDate":"\/Date(1368198375055)\/",

"DateStatusComplete":"\/Date(1364996400000)\/",

"AppliesTo":"April 3, 2013",

"Icon":"Alert",

"StatusType":"Open - X hour(s) Delayed Arrival - With Option for Unscheduled Leave or Unscheduled Telework",

"StatusTypeGuid":"86cc1e55-aa95-4599-b3bb-1a001b58f861",

"Url":"/policy-data-oversight/snow-dismissal-procedures/status-archives/13/4/3/Open---2-hours-Delayed-Arrival---With-Option-for-Unscheduled-Leave-or-Unscheduled-Telework_481/"},

...]

Back to Top

Control Panel