Click here to skip navigation
This website uses features which update page content based on user actions. If you are using assistive technology to view web content, please ensure your settings allow for the page content to update after initial load (this is sometimes called "forms mode"). Additionally, if you are using assistive technology and would like to be notified of items via alert boxes, please follow this link to enable alert boxes for your session profile.
An official website of the United States Government.

Developer Center Status Types API

Overview

The xml operating status API provides real time data on the Federal Government operating status for the DC area.

xml

URI

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

Arguments

Currently, there are no supported arguments. All information can be parsed from the main URI.

Attributes

The response code contains the following xml attributes:

StatusTypes (root node), OperatingStatusTypes, OperatingStatusType, Id, Name, Icon, Abbreviation, and IsDefault (boolean).

Sample Response

The code below shows the default status types xml response:

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

<OperatingStatusTypes>

<OperatingStatusType>

<Id>e3e3d34b-05ae-451a-b13a-93a1ac92dfe4</Id>

<Name>Open</Name>

<Icon>Open</Icon>

<Abbreviation>Open</Abbreviation>

<IsDefault>true</IsDefault>

</OperatingStatusType>

<OperatingStatusType>

<Id>a306b527-b677-414f-9abe-da2120ae9ae8</Id>

<Name>Open</Name>

<Icon>Open</Icon>

<Abbreviation>Open</Abbreviation>

<IsDefault>false</IsDefault>

</OperatingStatusType>

<OperatingStatusType>

<Id>d67af175-e7f8-4c83-93c3-0b18f4046f02</Id>

<Name>Open with Option for Unscheduled Leave or Unscheduled Telework</Name>

<Icon>Alert</Icon>

<Abbreviation>Unsch Leave/Telework</Abbreviation>

<IsDefault>false</IsDefault>

</OperatingStatusType>

...

</OperatingStatusTypes>

</StatusTypes>

Back to Top

json

URI

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

Arguments

The json operating status API supports the following optional arguments:

callback

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

Valid values: string

Sample Request

To request the status types wrapped in a placeholder method:

/json/statustypes.json?callback=SomeMethod

Name/Value Pairs

The response code contains the following name/value pairs:

Operating Status Types, Id, Name, Icon, Abbreviation, IsDefault, TotalCount, and LastUpdate (unix time).

Sample Response

The code below shows the default status history json response:

{"OperatingStatusTypes":

[{"Id":"e3e3d34b-05ae-451a-b13a-93a1ac92dfe4",

"Name":"Open",

"Icon":"Open",

"Abbreviation":"Open",

"IsDefault":true},

{"Id":"a306b527-b677-414f-9abe-da2120ae9ae8",

"Name":"Open",

"Icon":"Open",

"Abbreviation":"Open",

"IsDefault":false},

...],

"TotalCount":11,

"LastUpdate":"\/Date(1361768400000)\/"}

Back to Top

Control Panel