Attention A T users. To access the menus on this page please perform the following steps. 1. Please switch auto forms mode to off. 2. Hit enter to expand a main menu option (Health, Benefits, etc). 3. To enter and activate the submenu links, hit the down arrow. You will now be able to tab or arrow up or down through the submenu options to access/activate the submenu links.
Menu
Veterans Crisis Line Badge
My healthevet badge

Web Services

 

Press Release

Overview

The methods of this web service make queries to the VA Press Release database. Each method is available in four versions. The first of these versions will return the result set in an array. The second will return it as a ColdFusion query object while the third version returns the result set as a ColdFusion structure and an XML packet respectively. The last version of each method returns the result set in a WDDX packet.


Demonstration

Use the links below to view a visual representation of the data return from the web service.

Demo the getPress_array method where STARTDATE = 01/22/2002 AND ENDDATE = 01/24/2002 AND MAXRECORDS = '1'
Demo the getPress_query method where STARTDATE = 01/22/2002 AND ENDDATE = 01/24/2002 AND MAXRECORDS = '1'
Demo the getPress_xml method where STARTDATE = 01/22/2002 AND ENDDATE = 01/24/2002 AND MAXRECORDS = '2'
Demo the getPress_xmlString method where STARTDATE = 01/22/2002 AND ENDDATE = 01/24/2002 AND MAXRECORDS = '2'
Demo the getPress_wddx method where STARTDATE = 01/22/2002 AND ENDDATE = 01/24/2002 AND MAXRECORDS = '5'
Demo the getPressDetail_array method where PRESS_ID=383
Demo the getPressDetail_query method where PRESS_ID=383
Demo the getPressDetail_xml method where PRESS_ID=383
Demo the getPressDetail_xmlString method where PRESS_ID=383
Demo the getPressDetail_wddx method where PRESS_ID=383



Samples

The methods in this web service can be used to collect and display Hey VA and VA Press Releases on your web page. Below are a two samples:
  • VA Press Release - This demo uses the getPress_query method and coldfusion to display current VA Press Releases. This demo has been modified to only show the press releases from February, 2004. ( Source code - ColdFusion template that uses a CFSCRIPT to consume the web service. )


Summary

Below is a high-level look at the web service and the methods it has to offer for public consumption.
hierarchy: webservices.press.releases
location: https://www.va.gov/webservices/press/releases.cfc
wsdl: https://www.va.gov/webservices/press/releases.cfc?wsdl
properties: None
methods: getPress_array, getPress_query, getPress_xml, getPress_xmlString, getPress_wddx, getPressDetail_array, getPressDetail_query, getPressDetail_xml, getPressDetail_xmlString, getPressDetail_wddx
output: getPress_array, getPress_query, getPress_xml, getPress_wddx, getPressDetail_array, getPressDetail_query, getPressDetail_xml, getPressDetail_wddx
status: Definitions for each of the two possible web service result status codes are listed below.


Interface Details

Below is a detail look at the methods contained in this web service, the output format provided by those methods and the possible status conditions that can result from consuming this web service.