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

 

Posttraumatic Stress Disorder (PTSD) Programs

Overview

The PTSD web service provides PTSD Program information from Facilities and Leadership Directory database.
  • The PTSD_Program_Locator_array method returns PTSD Program information in an array .
  • The PTSD_Program_Locator_query method returns PTSD Program information in a ColdFusion query.
  • The PTSD_Program_Locator_wddx method returns PTSD Program information in a string containing a WDDX packet.
  • The PTSD_Program_Locator_xmlstring method returns PTSD Program information in a string containing an XML packet.


Demonstration

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

Demo the PTSD_Program_Locator_array method
Demo the PTSD_Program_Locator_query method
Demo the PTSD_Program_Locator_wddx method
Demo the PTSD_Program_Locator_xmlString method



Samples

The methods in this web service can be used for a variety of purposes. Below are a few samples:
  • PTSD Programs - You can use one of the PTSD_Program_Locator methods to find PTSD Programs. This demo uses the PTSD_Program_Locator_query method to create a PTSD Program page. ( Source code - ColdFusion template that uses CFINVOKE 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.PTSD.ptsd
location: https://www.va.gov/webservices/PTSD/ptsd.cfc
wsdl: https://www.va.gov/webservices/PTSD/ptsd.cfc?wsdl
methods: PTSD_Program_Locator_array, PTSD_Program_Locator_query, PTSD_Program_Locator_wddx, PTSD_Program_Locator_xmlString
output: aPrograms structure, qPrograms structure, wPrograms structure, xPrograms XML packet
status: Definitions are available for each of the possible web service result status codes


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.