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

 

VA Facilities

Overview

The facilities web service provides VA facility information. You can retrieve summary information about VA facilities by passing parameters such as Reg_id, State, and Fac_id. You can retrieve detailed or general VA facilities information by passing a fac_id or comma delimited fac_id list. In addition, the facilities web service provides method to retrieve summary and detail VA facility information by passing Reg_id and/or fac_type_id.
  • The GetFacsSummary_array method returns basic facility information in an array.
  • The GetFacsSummary_query method returns basic facility information in a ColdFusion query.
  • The GetFacsSummary_wddx method returns basic facility information in a string containing a WDDX packet.
  • The GetFacsSummary_xml method returns basic facility information in a WDDX packet containing an XML packet.
  • The GetFacsSummary_xmlString method returns basic facility information in a string containing an XML packet.


  • The GetFacsDetailByByFacID_array method returns detailed facility information in an array.
  • The GetFacsDetailByFacID_query method returns detailed facility information in a ColdFusion query.
  • The GetFacsDetailByFacID_wddx method returns detailed facility information in a string containing a WDDX packet.
  • The GetFacsDetailByFacID_xml method returns detailed facility informationin a string containing an XML packet.
  • The GetFacsDetailByFacID_xmlString method returns detailed facility information in a string containing an XML packet.



  • The Facility_byRegionIDandType_summary_array method returns basic facility information in an array .
  • The Facility_byRegionIDandType_summary_query method returns basic facility information in a ColdFusion query.
  • The Facility_byRegionIDandType_summary_wddx method returns basic facility information in a string containing a WDDX packet.
  • The Facility_byRegionIDandType_summary_xmlString method returns basic facility information in a string containing an XML packet.


  • The Facility_byRegionIDandType_detail_array method returns detailed facility information in an array.
  • The Facility_byRegionIDandType_detail_query method returns detailed facility information in a ColdFusion query.
  • The Facility_byRegionIDandType_detail_wddx method returns detailed facility information in a string containing a WDDX packet.
  • The Facility_byRegionIDandType_detail_xmlString method returns detailed facility information in a string containing an XML packet.



  • The GetFacsDescriptionByByFacID_array method returns general facility information in an array.
  • The GetFacsDescriptionByFacID_query method returns general facility information in a ColdFusion query.
  • The GetFacsDescriptionByFacID_wddx method returns general facility information in a string containing a WDDX packet.
  • The GetFacsDescriptionByFacID_xml method returns general facility information in a WDDX packet containing an XML packet.
  • The GetFacsDescriptionByFacID_xmlString method returns general facility information in a string containing an XML packet.


  • The getSPCs_xml method returns Suicide Prevention Coordinator(SPC) information in a WDDX packet containing an XML packet.
  • The getSPCs_xmlstring method returns Suicide Prevention Coordinator(SPC) 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 GetFacsSummary_array method where reg_ID=5,7,10
Demo the GetFacsSummary_query method where state=MD
Demo the GetFacsSummary_wddx method where fac_ID=1001,50
Demo the GetFacsSummary_xml method where reg_ID=8,23
Demo the GetFacsSummary_xmlString method where reg_ID=8,23

Demo the GetFacsDetailByFacID_array method where fac_ID=3
Demo the GetFacsDetailByFacID_query method where fac_ID=1,2
Demo the GetFacsDetailByFacID_wddx method where fac_ID=1001
Demo the GetFacsDetailByFacID_xml method where fac_ID=7
Demo the GetFacsDetailByFacID_xmlString method where fac_ID=7

Demo the Facility_byRegionIDandType_Summary_array method where reg_ID=1 and Fac_Type_ID=13
Demo the Facility_byRegionIDandType_Summary_query method where reg_ID=1,2 and Fac_Type_ID=13
Demo the Facility_byRegionIDandType_Summary_wddx method where reg_ID=999
Demo the Facility_byRegionIDandType_Summary_xmlString method where reg_ID=1 and Fac_Type_ID=2

Demo the Facility_byRegionIDandType_detail_array method where reg_id=1 and Fac_Type_ID=13
Demo the Facility_byRegionIDandType_detail_query method where reg_ID=1,2 and Fac_Type_ID=13
Demo the Facility_byRegionIDandType_detail_wddx method where reg_ID=999
Demo the Facility_byRegionIDandType_detail_xmlString method where reg_ID=1 and Fac_Type_ID=2

Demo the GetFacsDescriptionByFacID_array method where fac_ID=3
Demo the GetFacsDescriptionByFacID_query method where fac_ID=1,2
Demo the GetFacsDescriptionByFacID_wddx method where fac_ID=1001
Demo the GetFacsDescriptionByFacID_xml method where fac_ID=7
Demo the GetFacsDescriptionByFacID_xmlString method where fac_ID=7

Demo the getSPCs_xml method where state=VA
Demo the getSPCs_xmlstring method where state=VA

You can also get return data in Json by using the following format:
http://www.va.gov/webservices/fandl/facilities.cfc?method=GetFacsSummary_array&fac_fld=reg_id&fac_val=5,7&license=YOUR LICENSE KEY&ReturnFormat=JSON
Demo the getFacsSummary_array method where reg_ID=5,7 (JSON)

http://www.va.gov/webservices/fandl/facilities.cfc?method=GetFacsSummary_query&fac_fld=reg_id&fac_val=5,7&license=YOUR LICENSE KEY&ReturnFormat=JSON
Demo the getFacsSummary_query method where reg_ID=5,7 (JSON)


Samples

There currently are no samples available for this 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.FandL.facilities
Location: https://www.va.gov/webservices/fandl/facilities.cfc
WSDL: https://www.va.gov/webservices/fandl/facilities.cfc?wsdl
Methods: GetFacsSummary_array, GetFacsSummary_query, GetFacsSummary_wddx, GetFacsSummary_xml, GetFacsSummary_xmlString, GetFacsDescriptionByFacID_array, GetFacsDescriptionByFacID_query, GetFacsDescriptionByFacID_wddx, GetFacsDescriptionByFacID_xml, GetFacsDescriptionByFacID_xmlString, Facility_byRegionIDandType_Summary_array, Facility_byRegionIDandType_Summary_query, Facility_byRegionIDandType_Summary_wddx, Facility_byRegionIDandType_Summary_xmlString, Facility_byRegionIDandType_detail_array, Facility_byRegionIDandType_detail_query, Facility_byRegionIDandType_detail_wddx, Facility_byRegionIDandType_detail_xml, Facility_byRegionIDandType_detail_xmlString, GetFacsDetail_array, GetFacsDetail_query, GetFacsDetail_wddx, GetFacsDetail_xml, GetFacsDetail_xmlString, getSPCs_xml, getSPCs_xmlstring
Output: aFacs structure, qFacs structure, wFacs structure, xFacs XML packet, aFacG structure, qFacG structure, wFacG structure, xFacG XML packet, aFacD structure, qFacD structure, wFacD structure, xFacD XML packet, xSPC XML packet
Status: Definitions are available for each of the possible web service result status codes
Facility Type LookUp: References are available for facility type.
Region LookUp: References are available for facility region.
Version: 1.0


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.







Facility Type LookUp
Fac_type_id Description
0All Types
15VA Central Offices
8, 9Benefits Office
6, 18Cemetery
2, 7, 10, 11, 13, 14Medical Facilities (ALL)
2, 7Outpatient Clinic
14VISN Office
10, 11Hospitals
13Vet Center


Region LookUp
Reg_id Description
1, 2, 4, 5, 6, 7, 8, 9, 10, 12, 15, 16, 17, 19, 20, 21, 22, 23VISN
36NCA: Continental District
37NCA: North Atlantic District
38NCA: Southeast District
46NCA: Midwest District
47NCA: Pacific District
50VBA: North Atlantic District
51VBA: Southeast District
52VBA: Midwest District
53VBA: Continental District
54VBA: Pacific District
999VA Central Offices