Version Information API

Command: ver

Inputs

Parameter Description
None The version command does not take any parameters
json=y Returns API output in JSON format. Default output is XML if parameter not specified. (Optional)

Results

XML Sample

<?xml version="1.0" encoding="utf-8"?>
<root>
  <uri>
    <![CDATA[http://api.bart.gov/api/version.aspx]]>
  </uri>
  <apiVersion>3.00</apiVersion>
  <copyright>Copyright 2016 Bay Area Rapid Transit District</copyright>
  <license>http://www.bart.gov/schedules/developers/developer-license-agreement</license>
  <message></message>
</root>

JSON Sample

{
   "?xml":{
      "@version":"1.0",
      "@encoding":"utf-8"
   },
   "root":{
      "uri":{
         "#cdata-section":"http://api.bart.gov/api/version.aspx"
      },
      "apiVersion":"3.10",
      "copyright":"Copyright 2017 Bay Area Rapid Transit District",
      "license":"http://www.bart.gov/schedules/developers/developer-license-agreement",
      "message":""
   }
}

Notes

None.

Usage

XML: http://api.bart.gov/api/version.aspx
JSON: http://api.bart.gov/api/version.aspx?json=y